Sha256: e3ef1c62777b4d18ef0fc4fd2f44112fddf8c3dfb75ee323d8e9dcb87c59af57

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

module ReverseParameters
  refine Method do
    # @return [ReverseParameters]
    def reverse_parameters
      ReverseParameters.new(parameters)
    end
  end

  refine UnboundMethod do
    # @return [ReverseParameters]
    def reverse_parameters
      ReverseParameters.new(parameters)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
reverse_parameters-1.1.1 lib/reverse_parameters/core_ext/refinements.rb
reverse_parameters-1.1.0 lib/reverse_parameters/core_ext/refinements.rb