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