Module: RakeDeploy
- Defined in:
- lib/rake_deploy.rb
Defined Under Namespace
Classes: Error, Rsyncer, Tasks
Class Method Summary
collapse
Class Method Details
.load(config) ⇒ Object
14
15
16
|
# File 'lib/rake_deploy.rb', line 14
def self.load(config)
Tasks.new(config).install_tasks
end
|
.load_file(file) ⇒ Object
6
7
8
|
# File 'lib/rake_deploy.rb', line 6
def self.load_file(file)
self.load_yaml(File.read(file))
end
|
.load_yaml(string) ⇒ Object
10
11
12
|
# File 'lib/rake_deploy.rb', line 10
def self.load_yaml(string)
self.load(YAML.load(string))
end
|