Exception: SFRP::Flat::UnboundLocalVariableError
- Inherits:
-
CompileError
- Object
- StandardError
- CompileError
- SFRP::Flat::UnboundLocalVariableError
- Defined in:
- lib/sfrp/flat/exception.rb
Instance Method Summary collapse
-
#initialize(var_str) ⇒ UnboundLocalVariableError
constructor
A new instance of UnboundLocalVariableError.
- #message ⇒ Object
Constructor Details
#initialize(var_str) ⇒ UnboundLocalVariableError
Returns a new instance of UnboundLocalVariableError.
26 27 28 |
# File 'lib/sfrp/flat/exception.rb', line 26 def initialize(var_str) @var_str = var_str end |
Instance Method Details
#message ⇒ Object
30 31 32 |
# File 'lib/sfrp/flat/exception.rb', line 30 def "unbound variable '#{@var_str}'" end |