Exception: Berkshelf::InvalidGitURI
- Inherits:
-
BerkshelfError
- Object
- StandardError
- BerkshelfError
- Berkshelf::InvalidGitURI
- Defined in:
- lib/berkshelf/errors.rb
Instance Attribute Summary collapse
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
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.
82 83 84 |
# File 'lib/berkshelf/errors.rb', line 82 def initialize(uri) @uri = uri end |
Instance Attribute Details
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
79 80 81 |
# File 'lib/berkshelf/errors.rb', line 79 def uri @uri end |
Instance Method Details
#to_s ⇒ Object
86 87 88 |
# File 'lib/berkshelf/errors.rb', line 86 def to_s "'#{uri}' is not a valid Git URI." end |