# File lib/hashr.rb, line 73 def try(key) defined?(key) ? self[key] : nil # TODO needs to look for to_h etc end