Exception: Bcdatabase::Commands::ForcedExit

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bcdatabase/commands.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ ForcedExit

Returns a new instance of ForcedExit.



11
12
13
# File 'lib/bcdatabase/commands.rb', line 11

def initialize(code)
  @code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



9
10
11
# File 'lib/bcdatabase/commands.rb', line 9

def code
  @code
end