Class: Katalyst::Tables::Collection::Query::ArrayValueParser::Value

Inherits:
Object
  • Object
show all
Defined in:
app/models/concerns/katalyst/tables/collection/query/array_value_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value, start, fin) ⇒ Value

Returns a new instance of Value.



52
53
54
55
# File 'app/models/concerns/katalyst/tables/collection/query/array_value_parser.rb', line 52

def initialize(value, start, fin)
  @value = value
  @range = (start..fin)
end

Instance Attribute Details

#rangeObject

Returns the value of attribute range.



50
51
52
# File 'app/models/concerns/katalyst/tables/collection/query/array_value_parser.rb', line 50

def range
  @range
end

#valueObject

Returns the value of attribute value.



50
51
52
# File 'app/models/concerns/katalyst/tables/collection/query/array_value_parser.rb', line 50

def value
  @value
end