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