Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/cloudkit.rb
Instance Method Summary collapse
-
#try(method) ⇒ Object
Execute a method if it exists.
Instance Method Details
#try(method) ⇒ Object
Execute a method if it exists.
44 45 46 |
# File 'lib/cloudkit.rb', line 44 def try(method) # via defunkt send method if respond_to? method end |