Class: Hecks::QuerySpecification::Common::LimitSpec
- Inherits:
-
Struct
- Object
- Struct
- Hecks::QuerySpecification::Common::LimitSpec
- Defined in:
- lib/hecks/query_specification/common/limit_spec.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value
4 5 6 |
# File 'lib/hecks/query_specification/common/limit_spec.rb', line 4 def value @value end |
Instance Method Details
#to_h ⇒ Object
5 |
# File 'lib/hecks/query_specification/common/limit_spec.rb', line 5 def to_h = { value: QuerySpecification.render_value(value) } |