Class: MilkTea::CompileTime::ReturnOutcome
- Inherits:
-
Data
- Object
- Data
- MilkTea::CompileTime::ReturnOutcome
- Defined in:
- lib/milk_tea/core/compile_time.rb
Overview
Carries the value of a return statement out of the block evaluator as
an ordinary value instead of an exception; callers unwrap it when present.
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value
11 12 13 |
# File 'lib/milk_tea/core/compile_time.rb', line 11 def value @value end |