Exception: AssetPacker::CLI::ExitEarly
- Inherits:
-
StandardError
- Object
- StandardError
- AssetPacker::CLI::ExitEarly
- Defined in:
- lib/asset_packer/cli.rb
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
readonly
Returns the value of attribute exit_code.
Instance Method Summary collapse
-
#initialize(message, exit_code = 0) ⇒ ExitEarly
constructor
A new instance of ExitEarly.
Constructor Details
#initialize(message, exit_code = 0) ⇒ ExitEarly
Returns a new instance of ExitEarly.
13 14 15 16 |
# File 'lib/asset_packer/cli.rb', line 13 def initialize(, exit_code = 0) super() @exit_code = exit_code end |
Instance Attribute Details
#exit_code ⇒ Object (readonly)
Returns the value of attribute exit_code.
11 12 13 |
# File 'lib/asset_packer/cli.rb', line 11 def exit_code @exit_code end |