Exception: RubyDocTest::EvaluationError
- Inherits:
-
Exception
- Object
- Exception
- RubyDocTest::EvaluationError
- Defined in:
- lib/statement.rb
Instance Attribute Summary collapse
-
#original_exception ⇒ Object
readonly
Returns the value of attribute original_exception.
-
#statement ⇒ Object
readonly
Returns the value of attribute statement.
Instance Method Summary collapse
-
#initialize(statement, original_exception) ⇒ EvaluationError
constructor
A new instance of EvaluationError.
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_exception ⇒ Object (readonly)
Returns the value of attribute original_exception.
9 10 11 |
# File 'lib/statement.rb', line 9 def original_exception @original_exception end |
#statement ⇒ Object (readonly)
Returns the value of attribute statement.
9 10 11 |
# File 'lib/statement.rb', line 9 def statement @statement end |