method
try!
v5.2.3 -
Show latest stable
- Class:
ActiveSupport::Tryable
try!(*a, &b)public
No documentation available.
# File activesupport/lib/active_support/core_ext/object/try.rb, line 11
def try!(*a, &b)
if a.empty? && block_given?
if b.arity == 0
instance_eval(&b)
else
yield self
end
else
public_send(*a, &b)
end
end