Top Level Namespace

Defined Under Namespace

Classes: Cloudler

Instance Method Summary collapse

Instance Method Details

#command(string) ⇒ Object



119
120
121
# File 'lib/cloudler.rb', line 119

def command string
	Cloudler.command = string
end

#files(array) ⇒ Object



131
132
133
# File 'lib/cloudler.rb', line 131

def files array
	Cloudler.files = array
end

#gems(array) ⇒ Object



123
124
125
# File 'lib/cloudler.rb', line 123

def gems array
	Cloudler.gems = array
end

#host(hosts) ⇒ Object



107
108
109
110
111
112
113
# File 'lib/cloudler.rb', line 107

def host hosts
	if hosts.is_a? Array
		Cloudler.hosts = hosts
	else
		Cloudler.hosts = [hosts]
	end
end

#password(pass) ⇒ Object



127
128
129
# File 'lib/cloudler.rb', line 127

def password pass
	Cloudler.password = pass
end

#path(string) ⇒ Object



139
140
141
# File 'lib/cloudler.rb', line 139

def path string
	Cloudler.path = string
end

#precommands(array) ⇒ Object



135
136
137
# File 'lib/cloudler.rb', line 135

def precommands array
	Cloudler.precommands = array
end

#username(name) ⇒ Object



115
116
117
# File 'lib/cloudler.rb', line 115

def username name
	Cloudler.username = name
end