Exception: Smartest::Skipped
- Defined in:
- lib/smartest/errors.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason = nil) ⇒ Skipped
constructor
A new instance of Skipped.
Constructor Details
#initialize(reason = nil) ⇒ Skipped
Returns a new instance of Skipped.
81 82 83 84 |
# File 'lib/smartest/errors.rb', line 81 def initialize(reason = nil) @reason = StatusReason.normalize(reason) super(@reason) end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
79 80 81 |
# File 'lib/smartest/errors.rb', line 79 def reason @reason end |