Exception: Uncov::NotGitRepoError
- Defined in:
- lib/uncov.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ NotGitRepoError
constructor
A new instance of NotGitRepoError.
- #message ⇒ Object
Methods inherited from Error
Constructor Details
#initialize(path) ⇒ NotGitRepoError
Returns a new instance of NotGitRepoError.
45 |
# File 'lib/uncov.rb', line 45 def initialize(path) = @path = path |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
43 44 45 |
# File 'lib/uncov.rb', line 43 def path @path end |
Instance Method Details
#message ⇒ Object
46 |
# File 'lib/uncov.rb', line 46 def = "#{path.inspect} is not in a git working tree" |