Exception: Yank::YankException
- Inherits:
-
Exception
- Object
- Exception
- Yank::YankException
- Defined in:
- lib/yank_exception.rb
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
readonly
Returns the value of attribute exit_code.
Instance Method Summary collapse
-
#initialize(message) ⇒ YankException
constructor
A new instance of YankException.
Constructor Details
#initialize(message) ⇒ YankException
Returns a new instance of YankException.
6 7 8 9 10 |
# File 'lib/yank_exception.rb', line 6 def initialize() super() @exit_code = 1 end |
Instance Attribute Details
#exit_code ⇒ Object (readonly)
Returns the value of attribute exit_code.
4 5 6 |
# File 'lib/yank_exception.rb', line 4 def exit_code @exit_code end |