Exception: Swift::Gist::CLIError
- Inherits:
-
StandardError
- Object
- StandardError
- Swift::Gist::CLIError
- Defined in:
- lib/swift/gist/cli.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason) ⇒ CLIError
constructor
A new instance of CLIError.
Constructor Details
#initialize(reason) ⇒ CLIError
Returns a new instance of CLIError.
8 9 10 |
# File 'lib/swift/gist/cli.rb', line 8 def initialize reason self.reason = reason end |
Instance Attribute Details
#reason ⇒ Object
Returns the value of attribute reason.
6 7 8 |
# File 'lib/swift/gist/cli.rb', line 6 def reason @reason end |