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?.



31
32
33
# File 'lib/summon/schema/range.rb', line 31

def applied?
  @applied?
end

#apply_command ⇒ Object (readonly)

Returns the value of attribute apply_command.



32
33
34
# File 'lib/summon/schema/range.rb', line 32

def apply_command
  @apply_command
end

#count ⇒ Object (readonly)

Returns the value of attribute count.



30
31
32
# File 'lib/summon/schema/range.rb', line 30

def count
  @count
end

#range ⇒ Object (readonly)

Returns the value of attribute range.



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

def range
  @range
end

Instance Method Details

#abs_value ⇒ Object



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

def abs_value
  ""
end

#apply_negated_command ⇒ Object



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

def apply_negated_command
  ""
end

#excluded? ⇒ Boolean

Returns:

  • (Boolean)


53
54
55
# File 'lib/summon/schema/range.rb', line 53

def excluded?
  false
end

#max ⇒ Object



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

def max
  @range["maxValue"]
end

#min ⇒ Object



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

def min
  @range["minValue"]
end