# File lib/meta_search/where.rb, line 178 def get(method_id_or_predicate) return nil unless where_key = @@wheres.keys. sort {|a,b| b.length <=> a.length}. detect {|n| method_id_or_predicate.to_s.match(/#{n}=?$/)} where = @@wheres[where_key] where = @@wheres[where] if where.is_a?(String) where end