Parent

Namespace

Class/Module Index [+]

Quicksearch

IaasProvider

Public Class Methods

machine_class() click to toggle source
# File lib/ironfan/provider.rb, line 181
def self.machine_class
  self.const_get(:Machine)
end

Public Instance Methods

ensure_prerequisites!(computers) click to toggle source

Manipulation

# File lib/ironfan/provider.rb, line 188
def ensure_prerequisites!(computers)
  # Create all things that aren't machines
  targets = resources.reject {|type| type < IaasProvider::Machine}
  computers.each do |computer|
    targets.each {|r| r.create! computer }
  end
end
save!(computers) click to toggle source
# File lib/ironfan/provider.rb, line 196
def save!(computers)
  computers.each do |computer|
    targets.each {|r| r.save! computer }
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.