Class: Hexpress::Value::Ending
- Includes:
- Hexpress::Value
- Defined in:
- lib/hexpress/value/ending.rb
Instance Method Summary collapse
-
#initialize(value = nil) ⇒ Ending
constructor
A new instance of Ending.
- #to_s ⇒ Object
Methods included from Hexpress::Value
Constructor Details
#initialize(value = nil) ⇒ Ending
Returns a new instance of Ending.
13 14 15 |
# File 'lib/hexpress/value/ending.rb', line 13 def initialize(value = nil) @value = value end |
Instance Method Details
#to_s ⇒ Object
17 18 19 |
# File 'lib/hexpress/value/ending.rb', line 17 def to_s "#{value}$" end |