Class: Plyushkin::NilValue
- Inherits:
-
Object
- Object
- Plyushkin::NilValue
- Defined in:
- lib/plyushkin/nil_value.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(sym, *args) ⇒ Object
2 3 4 |
# File 'lib/plyushkin/nil_value.rb', line 2 def method_missing(sym, *args) return nil end |
Instance Method Details
#valid? ⇒ Boolean
6 7 8 |
# File 'lib/plyushkin/nil_value.rb', line 6 def valid? true end |