Module: Predicated::Selectable::ClassMethods

Defined in:
lib/predicated/selectable.rb

Instance Method Summary collapse

Instance Method Details

#selector(hash) ⇒ Object



42
43
44
# File 'lib/predicated/selectable.rb', line 42

def selector(hash)
  instance_variable_set(SELECTORS, Selectable.merge_many(instance_variable_get(SELECTORS), hash))
end