Exception: Command::Interrupt

Inherits:
StandardError
  • Object
show all
Defined in:
lib/command/interrupt.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorsObject (readonly)

Returns the value of attribute errors.



5
6
7
# File 'lib/command/interrupt.rb', line 5

def errors
  @errors
end