Class: Slugforge::JsonError
- Inherits:
-
Thor::Error
- Object
- Thor::Error
- Slugforge::JsonError
- Defined in:
- lib/slugforge/commands.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ JsonError
constructor
A new instance of JsonError.
Constructor Details
#initialize(message) ⇒ JsonError
Returns a new instance of JsonError.
13 14 15 |
# File 'lib/slugforge/commands.rb', line 13 def initialize() super({error: }.to_json) end |