Class: NilClass
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
16 17 18 |
# File 'lib/maybe.rb', line 16 def method_missing(method, *args) nil end |
Instance Method Details
#try(*args) ⇒ Object
12 13 14 |
# File 'lib/maybe.rb', line 12 def try(*args) nil end |