Exception: Vagabond::VagabondError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/vagabond/errors.rb,
lib/vagabond/errors.rb

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.exit_codeObject

Returns the value of attribute exit_code.



5
6
7
# File 'lib/vagabond/errors.rb', line 5

def exit_code
  @exit_code
end

Instance Method Details

#exit_codeObject



7
8
9
# File 'lib/vagabond/errors.rb', line 7

def exit_code
  self.class.exit_code
end