Parent

Class/Module Index [+]

Quicksearch

Ironfan::Dsl::Cloud

Public Class Methods

receive(obj, &block) click to toggle source

Factory out to subclasses

# File lib/ironfan/dsl/cloud.rb, line 8
def self.receive(obj, &block)
  if obj.is_a?(Hash)
    obj = obj.symbolize_keys
    obj[:_type] ||=
      case obj[:name]
      when :ec2        then Ec2
      when :virtualbox then VirtualBox
      else raise "Unsupported cloud #{obj[:name]}"
      end
  end
  super
end

Public Instance Methods

defaults() click to toggle source
# File lib/ironfan/deprecated.rb, line 10
def defaults
  Ironfan.deprecated 'defaults'
end
implied_volumes() click to toggle source
# File lib/ironfan/dsl/cloud.rb, line 21
def implied_volumes()     Ironfan.noop(self,__method__,*p);      end

[Validate]

Generated with the Darkfish Rdoc Generator 2.