Exception: MilkTea::CompileTime::ReturnValue
- Inherits:
-
StandardError
- Object
- StandardError
- MilkTea::CompileTime::ReturnValue
- Defined in:
- lib/milk_tea/core/compile_time.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ ReturnValue
constructor
A new instance of ReturnValue.
Constructor Details
#initialize(value) ⇒ ReturnValue
Returns a new instance of ReturnValue.
12 13 14 15 |
# File 'lib/milk_tea/core/compile_time.rb', line 12 def initialize(value) @value = value super("return #{value.inspect}") end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
10 11 12 |
# File 'lib/milk_tea/core/compile_time.rb', line 10 def value @value end |