Module: RecursiveMethodMissing
- Included in:
- NullClass
- Defined in:
- lib/null.rb
Overview
Define method_missing to return self.
Instance Method Summary collapse
-
#method_missing(meth, *args) ⇒ Object
We always return
self.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args) ⇒ Object
We always return self.
129 130 131 |
# File 'lib/null.rb', line 129 def method_missing(meth, *args) self end |