Class: EchSpec::Err
- Inherits:
-
Object
- Object
- EchSpec::Err
- Defined in:
- lib/echspec/result.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
-
#message_stack ⇒ Object
readonly
Returns the value of attribute message_stack.
Instance Method Summary collapse
- #deconstruct ⇒ Object
-
#initialize(details, message_stack) ⇒ Err
constructor
A new instance of Err.
Constructor Details
#initialize(details, message_stack) ⇒ Err
Returns a new instance of Err.
17 18 19 20 |
# File 'lib/echspec/result.rb', line 17 def initialize(details, ) @details = details @message_stack = end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
15 16 17 |
# File 'lib/echspec/result.rb', line 15 def details @details end |
#message_stack ⇒ Object (readonly)
Returns the value of attribute message_stack.
15 16 17 |
# File 'lib/echspec/result.rb', line 15 def @message_stack end |
Instance Method Details
#deconstruct ⇒ Object
22 23 24 |
# File 'lib/echspec/result.rb', line 22 def deconstruct [@details, @message_stack] end |