Exception: Gobstones::Runner::UndefinedVariableError
- Inherits:
-
StandardError
- Object
- StandardError
- Gobstones::Runner::UndefinedVariableError
- Defined in:
- lib/gobstones/runner/errors/undefined_variable_error.rb
Class Method Summary collapse
Class Method Details
.for(variable_name) ⇒ Object
4 5 6 |
# File 'lib/gobstones/runner/errors/undefined_variable_error.rb', line 4 def self.for(variable_name) new((variable_name)) end |
.undefined_variable_message_for(variable_name) ⇒ Object
8 9 10 |
# File 'lib/gobstones/runner/errors/undefined_variable_error.rb', line 8 def self.(variable_name) "Undefined variable: #{variable_name}" end |