Skip to content

Add `#using` method for shared options

Compare
Choose a tag to compare
@nepalez nepalez released this 11 Oct 13:54

Instead of

param  :foo, reader: :private
option :bar, reader: :private

Use

using reader: :private do
  param  :foo
  option :bar
end