# File lib/core_ext/object.rb, line 2 def try(method, *args) self.send method, *args if self.respond_to?(method) end