Class: ActsAsRecursiveTree::Options::Values::MultiValue
- Inherits:
-
Base
- Object
- Base
- ActsAsRecursiveTree::Options::Values::MultiValue
show all
- Defined in:
- lib/acts_as_recursive_tree/options/values.rb
Instance Attribute Summary
Attributes inherited from Base
#config, #value
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #prepared_value
Instance Method Details
#apply_negated_to(attribute) ⇒ Object
54
55
56
|
# File 'lib/acts_as_recursive_tree/options/values.rb', line 54
def apply_negated_to(attribute)
attribute.not_in(prepared_value)
end
|
#apply_to(attribute) ⇒ Object
50
51
52
|
# File 'lib/acts_as_recursive_tree/options/values.rb', line 50
def apply_to(attribute)
attribute.in(prepared_value)
end
|