Class: XPCOMCore::CommandParser::LaunchCommand::BaseLauncher

Inherits:
Object
  • Object
show all
Defined in:
lib/xpcomcore-rubygem/commands/launch.rb

Direct Known Subclasses

DarwinLauncher, LinuxLauncher

Defined Under Namespace

Classes: XULRunnerNotFoundError

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ BaseLauncher

Returns a new instance of BaseLauncher.



22
23
24
# File 'lib/xpcomcore-rubygem/commands/launch.rb', line 22

def initialize(options)
  @options = options
end

Instance Method Details

#launchObject



26
27
28
29
# File 'lib/xpcomcore-rubygem/commands/launch.rb', line 26

def launch
  ENV['XPCOMCORE'] = ENV['XPCOMCORE'] || XPCOMCore::BootstrapperLocation.to_s
  XPCOMCore::CommandParser.log("Using XPCOMCore bootstrapper at '#{ENV['XPCOMCORE']}'")
end