Class: Hexpress::Value::Starting
- Includes:
- Hexpress::Value
- Defined in:
- lib/hexpress/value/starting.rb
Instance Method Summary collapse
-
#initialize(value = nil) ⇒ Starting
constructor
A new instance of Starting.
- #to_s ⇒ Object
Methods included from Hexpress::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_s ⇒ Object
17 18 19 |
# File 'lib/hexpress/value/starting.rb', line 17 def to_s "^#{value}" end |