Exception: Esvien::BadRepository
- Defined in:
- lib/esvien/errors.rb
Instance Attribute Summary collapse
-
#repo ⇒ Object
readonly
Returns the value of attribute repo.
Instance Method Summary collapse
-
#initialize(repo) ⇒ BadRepository
constructor
A new instance of BadRepository.
- #message ⇒ Object
Constructor Details
#initialize(repo) ⇒ BadRepository
Returns a new instance of BadRepository.
8 9 10 |
# File 'lib/esvien/errors.rb', line 8 def initialize(repo) @repo = repo end |
Instance Attribute Details
#repo ⇒ Object (readonly)
Returns the value of attribute repo.
6 7 8 |
# File 'lib/esvien/errors.rb', line 6 def repo @repo end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/esvien/errors.rb', line 12 def "No repository found at #{repo.uri}" end |