Exception: VersionManager::VCS::BranchAlreadyExistsError
- Inherits:
-
StandardError
- Object
- StandardError
- VersionManager::VCS::BranchAlreadyExistsError
- Defined in:
- lib/version-manager/vcs.rb
Instance Method Summary collapse
-
#initialize(branch_name) ⇒ BranchAlreadyExistsError
constructor
A new instance of BranchAlreadyExistsError.
- #message ⇒ Object
Constructor Details
#initialize(branch_name) ⇒ BranchAlreadyExistsError
Returns a new instance of BranchAlreadyExistsError.
5 6 7 |
# File 'lib/version-manager/vcs.rb', line 5 def initialize(branch_name) @branch_name = branch_name end |
Instance Method Details
#message ⇒ Object
9 10 11 |
# File 'lib/version-manager/vcs.rb', line 9 def "Branch #{@branch_name} already exists" end |