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.
55 56 57 |
# File 'lib/cloudkit.rb', line 55 def try(method) # via defunkt send method if respond_to? method end |