Class: Falcon::Command::Virtual

Inherits:
Samovar::Command
  • Object
show all
Defined in:
lib/falcon/command/virtual.rb

Instance Method Summary collapse

Instance Method Details

#callObject



62
63
64
65
66
# File 'lib/falcon/command/virtual.rb', line 62

def call
	container = run(parent.verbose?)
	
	container.wait
end

#run(verbose = false) ⇒ Object



50
51
52
53
54
55
56
57
58
59
60
# File 'lib/falcon/command/virtual.rb', line 50

def run(verbose = false)
	configuration = Configuration.new(verbose)
	
	@paths.each do |path|
		configuration.load_file(path)
	end
	
	hosts = Hosts.new(configuration)
	
	return hosts.run(@options)
end