ReverseParameters::Arguments
has been fixed to correctly make values passable from keyrest and rest args.
ReverseParameters.new
now correctly acceptsUnboundMethod
objects.
ReverseParameters
instance will now beReverseParameters::Base
. This should not change any usage.
- Add Ruby 2.1 Refinements ie.
using ReverseParameters
to enableMethod#reverse_parameters
andUnboundMethod#reverse_parameters
- ReverseParameters.new keyword arg :blocks_as_values moved to
ReverseParameters#arguments(blocks_as_values: [true, false])
- CoreExt to Ruby Code (Monkey Patch)
Method#reverse_parameters
andUnboundMethod#reverse_parameters
. This is not required by default, to userequire 'reverse_parameters/core_ext'
.
- Add the ability to pass blocks as values with the options blocks_as_values: true given in the initializer.