Class: GroongaDelta::Mapping::Restriction
- Inherits:
-
Object
- Object
- GroongaDelta::Mapping::Restriction
- Defined in:
- lib/groonga-delta/mapping.rb
Instance Attribute Summary collapse
-
#time_max ⇒ Object
readonly
Returns the value of attribute time_max.
-
#time_min ⇒ Object
readonly
Returns the value of attribute time_min.
Instance Method Summary collapse
-
#initialize(data) ⇒ Restriction
constructor
A new instance of Restriction.
Constructor Details
#initialize(data) ⇒ Restriction
Returns a new instance of Restriction.
97 98 99 100 101 |
# File 'lib/groonga-delta/mapping.rb', line 97 def initialize(data) @data = data @time_max = time_value("time", "max") @time_min = time_value("time", "min") end |
Instance Attribute Details
#time_max ⇒ Object (readonly)
Returns the value of attribute time_max.
95 96 97 |
# File 'lib/groonga-delta/mapping.rb', line 95 def time_max @time_max end |
#time_min ⇒ Object (readonly)
Returns the value of attribute time_min.
96 97 98 |
# File 'lib/groonga-delta/mapping.rb', line 96 def time_min @time_min end |