class NilClass

def try!(*)

nil.try!(:name) # => nil

Calling +try!+ on +nil+ always returns +nil+.
def try!(*)
  nil
end