Exception: VersionManager::VCS::BranchAlreadyExistsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/version-manager/vcs.rb

Instance Method Summary collapse

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

#messageObject



9
10
11
# File 'lib/version-manager/vcs.rb', line 9

def message
  "Branch #{@branch_name} already exists"
end