Module: RecursiveMethodMissing

Included in:
NullClass
Defined in:
lib/null.rb

Overview

Define method_missing to return self.

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth, *args) ⇒ Object

We always return self.



120
121
122
# File 'lib/null.rb', line 120

def method_missing(meth, *args)
	self
end