Class: GitCli::Vcs
- Inherits:
-
Object
- Object
- GitCli::Vcs
- Defined in:
- lib/git_cli.rb
Overview
class Gvcs::Vcs
Instance Method Summary collapse
-
#initialize ⇒ Vcs
constructor
A new instance of Vcs.
Methods included from Clone
Methods included from Init
Methods included from GitCore
Methods included from Common
#dry_run, #dry_run=, #log_debug, #log_error, #log_warn, #os_exec
Constructor Details
#initialize ⇒ Vcs
Returns a new instance of Vcs.
100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/git_cli.rb', line 100 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 |