Class: RailsSimpleSearch::ConditionItem

Inherits:
Object
  • Object
show all
Defined in:
lib/sql_handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(field, verb, value) ⇒ ConditionItem

Returns a new instance of ConditionItem.



145
146
147
148
149
# File 'lib/sql_handler.rb', line 145

def initialize(field, verb, value)
  @field = field
  @verb = verb
  @value = value
end

Instance Attribute Details

#fieldObject (readonly)

Returns the value of attribute field.



143
144
145
# File 'lib/sql_handler.rb', line 143

def field
  @field
end

#valueObject (readonly)

Returns the value of attribute value.



143
144
145
# File 'lib/sql_handler.rb', line 143

def value
  @value
end

#verbObject (readonly)

Returns the value of attribute verb.



143
144
145
# File 'lib/sql_handler.rb', line 143

def verb
  @verb
end