Exception: Uncov::NotGitObjectError

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(target_branch) ⇒ NotGitObjectError

Returns a new instance of NotGitObjectError.



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

def initialize(target_branch) = @target_branch = target_branch

Instance Attribute Details

#target_branchObject (readonly)

Returns the value of attribute target_branch.



50
51
52
# File 'lib/uncov.rb', line 50

def target_branch
  @target_branch
end

Instance Method Details

#messageObject



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

def message = "Git target #{target_branch.inspect} not found locally"