Class: ChittagongExceptionResult

Inherits:
ChittagongResult show all
Defined in:
lib/naksh/syntax/bash/dhaka/evaluator.rb

Instance Attribute Summary collapse

Attributes inherited from ChittagongResult

#exception

Instance Method Summary collapse

Constructor Details

#initialize(exception, node) ⇒ ChittagongExceptionResult

Returns a new instance of ChittagongExceptionResult.



341
342
343
344
# File 'lib/naksh/syntax/bash/dhaka/evaluator.rb', line 341

def initialize(exception, node)
  @exception = exception
  @node      = node
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



340
341
342
# File 'lib/naksh/syntax/bash/dhaka/evaluator.rb', line 340

def node
  @node
end