Class: Gvcs::Vcs
- Inherits:
-
Object
- Object
- Gvcs::Vcs
- Includes:
- GitCli::Clone, GitCli::Common, GitCli::GitCore, GitCli::Init
- Defined in:
- lib/git_cli.rb
Overview
common operations
Instance Method Summary collapse
-
#initialize ⇒ Vcs
constructor
A new instance of Vcs.
Methods included from GitCli::Clone
Methods included from GitCli::Init
Methods included from GitCli::GitCore
Methods included from GitCli::Common
#log_debug, #log_error, #log_warn, #os_exec
Constructor Details
#initialize ⇒ Vcs
Returns a new instance of Vcs.
81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/git_cli.rb', line 81 def initialize # version check vst, tver = version if vst if (tver <=> MIN_GIT_VERSION) == -1 log_warn("Min required version of GIT is #{MIN_GIT_VERSION}. System installed GIT is version #{tver}. The output might not be correct.") end log_debug "System GIT version is #{tver}. Min require version is #{MIN_GIT_VERSION}" end end |