Exception: Command::Interrupt
- Inherits:
-
StandardError
- Object
- StandardError
- Command::Interrupt
- Defined in:
- lib/command/interrupt.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ Interrupt
constructor
A new instance of Interrupt.
Constructor Details
#initialize(errors) ⇒ Interrupt
Returns a new instance of Interrupt.
7 8 9 10 11 |
# File 'lib/command/interrupt.rb', line 7 def initialize(errors) super() @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
5 6 7 |
# File 'lib/command/interrupt.rb', line 5 def errors @errors end |