Class: NilClass
Class Attribute Summary collapse
-
.__method_chaining__ ⇒ Object
Returns the value of attribute method_chaining.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args, **kw, &blk) ⇒ Object
8 9 10 |
# File 'lib/core_ext/nil.rb', line 8 def method_missing meth, *args, **kw, &blk super unless self.class.__method_chaining__ end |
Class Attribute Details
.__method_chaining__ ⇒ Object
Returns the value of attribute method_chaining.
5 6 7 |
# File 'lib/core_ext/nil.rb', line 5 def __method_chaining__ @__method_chaining__ end |