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