Exception: Berkshelf::UnknownGitHubProtocol
- Inherits:
-
BerkshelfError
- Object
- StandardError
- BerkshelfError
- Berkshelf::UnknownGitHubProtocol
- Defined in:
- lib/berkshelf/errors.rb
Instance Method Summary collapse
-
#initialize(protocol) ⇒ UnknownGitHubProtocol
constructor
A new instance of UnknownGitHubProtocol.
- #to_s ⇒ Object
Methods inherited from BerkshelfError
Constructor Details
#initialize(protocol) ⇒ UnknownGitHubProtocol
Returns a new instance of UnknownGitHubProtocol.
117 118 119 |
# File 'lib/berkshelf/errors.rb', line 117 def initialize(protocol) @protocol = protocol end |
Instance Method Details
#to_s ⇒ Object
121 122 123 |
# File 'lib/berkshelf/errors.rb', line 121 def to_s "'#{@protocol}' is not supported for the 'github' location key - please use 'git' instead" end |