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