Exception: Uncov::NotGitObjectError
- Defined in:
- lib/uncov.rb
Instance Attribute Summary collapse
-
#target_branch ⇒ Object
readonly
Returns the value of attribute target_branch.
Instance Method Summary collapse
-
#initialize(target_branch) ⇒ NotGitObjectError
constructor
A new instance of NotGitObjectError.
- #message ⇒ Object
Methods inherited from Error
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_branch ⇒ Object (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
#message ⇒ Object
53 |
# File 'lib/uncov.rb', line 53 def = "Git target #{target_branch.inspect} not found locally" |