Class: Hexpress::Modifier::One

Inherits:
Object
  • Object
show all
Includes:
Hexpress::Modifier, Value
Defined in:
lib/hexpress/modifier/one.rb

Constant Summary

Constants included from Hexpress::Modifier

CLOSE, OPEN

Instance Attribute Summary

Attributes included from Hexpress::Modifier

#operator

Instance Method Summary collapse

Methods included from Hexpress::Modifier

#close, #open, #to_s

Methods included from Value

#value

Constructor Details

#initialize(value) ⇒ One

Returns a new instance of One.



13
14
15
16
# File 'lib/hexpress/modifier/one.rb', line 13

def initialize(value)
  @value = value
  @operator = "?"
end