Method: RHC::GitHelpers#has_git?
- Defined in:
- lib/rhc/git_helpers.rb
#has_git? ⇒ Boolean
10 11 12 13 14 15 16 17 18 |
# File 'lib/rhc/git_helpers.rb', line 10 def has_git? @has_git ||= begin @git_version = nil git_version $?.success? rescue false end end |