Module: MethodMixin

Defined in:
lib/method_args/method_mixins.rb

Instance Method Summary collapse

Instance Method Details

#argsObject



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

def args
  MethodArgs.register(source_location[0]) if respond_to?(:source_location)
  args = MethodArgs.args_for_method(self).clone
  args.owning_method = self
  args
end