Exception: Uncov::NotGitRepoError

Inherits:
GitError show all
Defined in:
lib/uncov.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

#inspect

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

#pathObject (readonly)

Returns the value of attribute path.



43
44
45
# File 'lib/uncov.rb', line 43

def path
  @path
end

Instance Method Details

#messageObject



46
# File 'lib/uncov.rb', line 46

def message = "#{path.inspect} is not in a git working tree"