class ActsAsRecursiveTree::Options::Values::RangeValue
Public Instance Methods
apply_negated_to(attribute)
click to toggle source
# File lib/acts_as_recursive_tree/options/values.rb, line 44 def apply_negated_to(attribute) attribute.not_between(prepared_value) end
apply_to(attribute)
click to toggle source
# File lib/acts_as_recursive_tree/options/values.rb, line 40 def apply_to(attribute) attribute.between(prepared_value) end