# File lib/ruote/util/lookup.rb, line 141 def self.fetch(collection, key) value = (collection[key] rescue nil) if value == nil and key.is_a?(Fixnum) (collection[key.to_s] rescue nil) else value end end