lib/timber/util/object.rb in timber-1.1.3 vs lib/timber/util/object.rb in timber-1.1.4

- old
+ new

@@ -1,13 +1,15 @@ module Timber - # @private - module Object + module Util # @private - def self.try(object, method) - if object == nil - nil - else - object.send(method) rescue object + module Object + # @private + def self.try(object, method) + if object == nil + nil + else + object.send(method) rescue object + end end end end end \ No newline at end of file