Module: VersionManager::VCS
- Defined in:
- lib/version-manager/vcs.rb,
lib/version-manager/vcs/git.rb
Defined Under Namespace
Classes: BranchAlreadyExistsError, Git, UnsupportedVCSError
Class Method Summary collapse
Class Method Details
.build ⇒ Object
23 24 25 26 27 28 |
# File 'lib/version-manager/vcs.rb', line 23 def self.build case VersionManager.[:vcs][:name] when 'git' then VersionManager::VCS::Git.new(VersionManager.[:vcs][:options]) else raise UnsupportedVCSError end end |