Class: Endorser::NullObject
- Inherits:
-
Object
- Object
- Endorser::NullObject
- Defined in:
- lib/endorser/null_object.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ NullObject
constructor
A new instance of NullObject.
- #method_missing(*args, &block) ⇒ Object
Constructor Details
#initialize(*args) ⇒ NullObject
4 5 6 |
# File 'lib/endorser/null_object.rb', line 4 def initialize(*args) true end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args, &block) ⇒ Object
8 9 10 |
# File 'lib/endorser/null_object.rb', line 8 def method_missing(*args, &block) self end |