Exception: RubyDocTest::EvaluationError

Inherits:
Exception
  • Object
show all
Defined in:
lib/statement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(statement, original_exception) ⇒ EvaluationError

Returns a new instance of EvaluationError.


10
11
12
# File 'lib/statement.rb', line 10

def initialize(statement, original_exception)
  @statement, @original_exception = statement, original_exception
end

Instance Attribute Details

#original_exceptionObject (readonly)

Returns the value of attribute original_exception


9
10
11
# File 'lib/statement.rb', line 9

def original_exception
  @original_exception
end

#statementObject (readonly)

Returns the value of attribute statement


9
10
11
# File 'lib/statement.rb', line 9

def statement
  @statement
end