Class: Statefully::Diff::Failed
- Inherits:
-
Object
- Object
- Statefully::Diff::Failed
- Defined in:
- lib/statefully/diff.rb
Overview
class Unchanged
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ Failed
constructor
A new instance of Failed.
- #inspect ⇒ Object
Constructor Details
#initialize(error) ⇒ Failed
Returns a new instance of Failed.
81 82 83 |
# File 'lib/statefully/diff.rb', line 81 def initialize(error) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
79 80 81 |
# File 'lib/statefully/diff.rb', line 79 def error @error end |
Instance Method Details
#inspect ⇒ Object
85 86 87 |
# File 'lib/statefully/diff.rb', line 85 def inspect "#<#{self.class.name} error=#{error.inspect}>" end |