Module: Methods::MethodWithoutArgs
- Defined in:
- lib/methods/method_without_args.rb
Instance Method Summary collapse
Instance Method Details
#method(*args) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/methods/method_without_args.rb', line 3 def method(*args) if args.empty? Methods::MethodsWrapper.new(self) else super end end |