Exception: Rouge::CLI::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Rouge::CLI::Error
- Defined in:
- lib/rouge/cli.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message, status = 1) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, status = 1) ⇒ Error
Returns a new instance of Error.
62 63 64 65 |
# File 'lib/rouge/cli.rb', line 62 def initialize(, status=1) @message = @status = status end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
61 62 63 |
# File 'lib/rouge/cli.rb', line 61 def @message end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
61 62 63 |
# File 'lib/rouge/cli.rb', line 61 def status @status end |