Class: Katalyst::Tables::Collection::Query::ArrayValueParser::Value
- Inherits:
-
Object
- Object
- Katalyst::Tables::Collection::Query::ArrayValueParser::Value
- Defined in:
- app/models/concerns/katalyst/tables/collection/query/array_value_parser.rb
Instance Attribute Summary collapse
-
#range ⇒ Object
Returns the value of attribute range.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, start, fin) ⇒ Value
constructor
A new instance of Value.
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
#range ⇒ Object
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 |
#value ⇒ Object
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 |