Top Level Namespace
Defined Under Namespace
Modules: Aska, Capistrano, Kernel, Monitors, PoolParty, S3String, Spec
Classes: Array, Class, CloudNotFoundException, DependencyResolverException, EC2ResponseObject, Exception, Float, Hash, LoadRulesException, MasterException, Module, MyOpenStruct, NicePrinter, NilClass, Numeric, Object, OrderedHash, PackageException, Proc, ProvisionerException, RemoteException, ResourceException, RuntimeException, SpecException, String, Symbol, TemplateNotFound, TestCloudClass, UnacceptableCommand, Vmx, VmxDisk, VmxFile
Instance Method Summary
collapse
Instance Method Details
#are_you_sure?(msg) ⇒ Boolean
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'lib/poolpartycl.rb', line 9
def are_you_sure?(msg)
puts msg
resp = gets.strip!
case resp
when "Y"
when "yes"
when "y"
return true
else
return false
end
end
|
41
42
43
|
# File 'lib/poolparty.rb', line 41
%w(version).each do |f|
require "#{File.dirname(__FILE__)}/poolparty/#{f}"
end
|
#help_array ⇒ Object
5
6
7
|
# File 'lib/poolpartycl.rb', line 5
def help_array
["-h", "--help", "-V", "--version", "--debug", "-d"]
end
|
#load_test_cloud(name, poolfile = nil) ⇒ Object
#new_test_cloud(&block) ⇒ Object
22
23
24
|
# File 'lib/poolparty/spec.rb', line 22
def new_test_cloud(&block)
TestCloudClass.new(:test_cloud, &block)
end
|