Exception: Babl::Nodes::TerminalValue::TerminalValueError

Inherits:
Errors::RenderingError show all
Defined in:
lib/babl/nodes/terminal_value.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, babl_stack) ⇒ TerminalValueError

Returns a new instance of TerminalValueError.



85
86
87
88
# File 'lib/babl/nodes/terminal_value.rb', line 85

def initialize(message, babl_stack)
    @babl_stack = babl_stack
    super(message)
end

Instance Attribute Details

#babl_stackObject (readonly)

Returns the value of attribute babl_stack.



84
85
86
# File 'lib/babl/nodes/terminal_value.rb', line 84

def babl_stack
  @babl_stack
end