Exception: Berkshelf::InvalidGitURI
- Inherits:
-
BerkshelfError
- Object
- StandardError
- BerkshelfError
- Berkshelf::InvalidGitURI
- Defined in:
- lib/berkshelf/errors.rb
Instance Method Summary collapse
-
#initialize(uri) ⇒ InvalidGitURI
constructor
A new instance of InvalidGitURI.
- #to_s ⇒ Object
Methods inherited from BerkshelfError
Constructor Details
#initialize(uri) ⇒ InvalidGitURI
Returns a new instance of InvalidGitURI.
104 105 106 |
# File 'lib/berkshelf/errors.rb', line 104 def initialize(uri) @uri = uri end |
Instance Method Details
#to_s ⇒ Object
108 109 110 |
# File 'lib/berkshelf/errors.rb', line 108 def to_s "'#{@uri}' is not a valid Git URI" end |