Class: Hexpress::Value::With

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

Instance Method Summary collapse

Methods included from Hexpress::Value

#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_sObject



16
17
18
# File 'lib/hexpress/value/with.rb', line 16

def to_s
  "#{value}"
end