Class: Summon::RangeCount

Inherits:
Schema show all
Defined in:
lib/summon/schema/range.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Schema

inherited

Instance Attribute Details

#applied?Object (readonly) Also known as: included?

Returns the value of attribute applied?.



35
36
37
# File 'lib/summon/schema/range.rb', line 35

def applied?
  @applied?
end

#apply_commandObject (readonly)

Returns the value of attribute apply_command.



36
37
38
# File 'lib/summon/schema/range.rb', line 36

def apply_command
  @apply_command
end

#countObject (readonly)

Returns the value of attribute count.



34
35
36
# File 'lib/summon/schema/range.rb', line 34

def count
  @count
end

#rangeObject (readonly)

Returns the value of attribute range.



37
38
39
# File 'lib/summon/schema/range.rb', line 37

def range
  @range
end

Instance Method Details

#abs_valueObject



47
48
49
# File 'lib/summon/schema/range.rb', line 47

def abs_value
  ""
end

#apply_negated_commandObject



51
52
53
# File 'lib/summon/schema/range.rb', line 51

def apply_negated_command
  ""
end

#excluded?Boolean

Returns:

  • (Boolean)


57
58
59
# File 'lib/summon/schema/range.rb', line 57

def excluded?
  false
end

#maxObject



43
44
45
# File 'lib/summon/schema/range.rb', line 43

def max
  @range["maxValue"]
end

#minObject



39
40
41
# File 'lib/summon/schema/range.rb', line 39

def min
  @range["minValue"]
end