Class: Avm::Tools::Runner::Instance::System

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/tools/runner/instance/system.rb

Constant Summary collapse

ENVVAR_PARSER =
/\A([^=]+)=(.+)\z/.to_parser do |m|
  ::Struct.new(:name, :value).new(m[1].strip, m[2].strip)
end

Instance Method Summary collapse

Instance Method Details

#chdirPathname

Returns:

  • (Pathname)


29
30
31
# File 'lib/avm/tools/runner/instance/system.rb', line 29

def chdir
  (parsed.chdir || instance.install_path).to_pathname
end

#runObject



23
24
25
26
# File 'lib/avm/tools/runner/instance/system.rb', line 23

def run
  start_banner
  run_command
end