Class: Hexpress::Value::Starting

Inherits:
Object
  • Object
show all
Includes:
Hexpress::Value
Defined in:
lib/hexpress/value/starting.rb

Instance Method Summary collapse

Methods included from Hexpress::Value

#value

Constructor Details

#initialize(value = nil) ⇒ Starting

Returns a new instance of Starting.



13
14
15
# File 'lib/hexpress/value/starting.rb', line 13

def initialize(value = nil)
  @value = value
end

Instance Method Details

#to_sObject



17
18
19
# File 'lib/hexpress/value/starting.rb', line 17

def to_s
  "^#{value}"
end