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.
4 5 6 |
# File 'lib/version-manager/vcs.rb', line 4 def initialize(branch_name) @branch_name = branch_name end |
Instance Method Details
#message ⇒ Object
8 9 10 |
# File 'lib/version-manager/vcs.rb', line 8 def "Branch #{@branch_name} already exists" end |