class Object
def try!(*a, &b)
Same as #try, but will raise a NoMethodError exception if the receiving is not nil and
def try!(*a, &b) if a.empty? && block_given? yield self else public_send(*a, &b) end end
def try!(*a, &b) if a.empty? && block_given? yield self else public_send(*a, &b) end end