Class: ChittagongSuccessResult

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(result) ⇒ ChittagongSuccessResult

Returns a new instance of ChittagongSuccessResult.



334
335
336
# File 'lib/naksh/syntax/bash/dhaka/evaluator.rb', line 334

def initialize(result)
  @result = result
end

Instance Attribute Details

#resultObject (readonly)

Returns the value of attribute result.



333
334
335
# File 'lib/naksh/syntax/bash/dhaka/evaluator.rb', line 333

def result
  @result
end