class Maintainer::InstallGIT
Public Class Methods
installed!()
click to toggle source
# File lib/maintainer_core/instructions.rb, line 113 def self.installed!() # Run version version = CommandRunner.execute( command: Commands::Git::Version, error: nil ) return (/git version (\d+)(.\d+)?(.\d+)?/ =~ version) end
Public Instance Methods
crash_on_error!()
click to toggle source
# File lib/maintainer_core/instructions.rb, line 132 def crash_on_error!() return false end
run!()
click to toggle source
# File lib/maintainer_core/instructions.rb, line 123 def run!() # install pip CommandRunner.execute( command: Commands::Git::Install, error: nil ) return true end