Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/try_default/default.rb
Instance Method Summary collapse
-
#try(target = self) ⇒ Object
(also: #try_for)
alias.
Instance Method Details
#try(target = self) ⇒ Object Also known as: try_for
alias
2 3 4 |
# File 'lib/try_default/default.rb', line 2 def try(target=self) #alias TryDefault::Handler.new(target) end |