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.



4
5
6
# File 'lib/version-manager/vcs.rb', line 4

def initialize(branch_name)
  @branch_name = branch_name
end

Instance Method Details

#messageObject



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

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