# File lib/meta_search/where.rb, line 68 def initialize(where) if [String,Symbol].include?(where.class) where = Where.get(where) or raise ArgumentError("A where could not be instantiated for the argument #{where}") end @name = where[:name] @aliases = where[:aliases] @types = where[:types] @cast = where[:cast] @predicate = where[:predicate] @validator = where[:validator] @formatter = where[:formatter] @splat_param = where[:splat_param] @skip_compounds = where[:skip_compounds] end