Module: MethodMixin

Defined in:
lib/parameters_extra/method_mixins.rb

Instance Method Summary collapse

Instance Method Details

#parameters_extraObject



2
3
4
5
6
7
# File 'lib/parameters_extra/method_mixins.rb', line 2

def parameters_extra
  ParametersExtra.register(source_location[0]) if respond_to?(:source_location)
  args = ParametersExtra.parameters_for_method(self).clone
  args.owning_method = self
  args
end