class Arbor::Filter
Constants
- OPERATORS
Attributes
attribute[RW]
operator[RW]
value[RW]
Public Class Methods
new(attribute, operator, value)
click to toggle source
# File lib/arbor/filter.rb, line 9 def initialize(attribute, operator, value) @attribute = attribute @operator = validate(operator, OPERATORS) @value = value end
Public Instance Methods
to_s()
click to toggle source
# File lib/arbor/filter.rb, line 15 def to_s "filters.#{attribute}.#{operator}=#{value}" end