Class: Hecks::QuerySpecification::Common::LimitSpec

Inherits:
Struct
  • Object
show all
Defined in:
lib/hecks/query_specification/common/limit_spec.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



4
5
6
# File 'lib/hecks/query_specification/common/limit_spec.rb', line 4

def value
  @value
end

Instance Method Details

#to_hObject



5
# File 'lib/hecks/query_specification/common/limit_spec.rb', line 5

def to_h = { value: QuerySpecification.render_value(value) }