Top Level Namespace
Defined Under Namespace
Classes: Cloudler
Instance Method Summary collapse
- #command(string) ⇒ Object
- #files(array) ⇒ Object
- #gems(array) ⇒ Object
- #host(hosts) ⇒ Object
- #password(pass) ⇒ Object
- #path(string) ⇒ Object
- #precommands(array) ⇒ Object
- #username(name) ⇒ Object
Instance Method Details
#command(string) ⇒ Object
133 134 135 |
# File 'lib/cloudler.rb', line 133 def command string Cloudler.command = string end |
#files(array) ⇒ Object
145 146 147 |
# File 'lib/cloudler.rb', line 145 def files array Cloudler.files = array end |
#gems(array) ⇒ Object
137 138 139 |
# File 'lib/cloudler.rb', line 137 def gems array Cloudler.gems = array end |
#host(hosts) ⇒ Object
121 122 123 124 125 126 127 |
# File 'lib/cloudler.rb', line 121 def host hosts if hosts.is_a? Array Cloudler.hosts = hosts else Cloudler.hosts = [hosts] end end |
#password(pass) ⇒ Object
141 142 143 |
# File 'lib/cloudler.rb', line 141 def password pass Cloudler.password = pass end |
#path(string) ⇒ Object
153 154 155 |
# File 'lib/cloudler.rb', line 153 def path string Cloudler.path = string end |
#precommands(array) ⇒ Object
149 150 151 |
# File 'lib/cloudler.rb', line 149 def precommands array Cloudler.precommands = array end |