Class: Hugo::Suite

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/hugo.rb

Instance Method Summary collapse

Constructor Details

#initializeSuite

Returns a new instance of Suite.



29
30
# File 'lib/hugo.rb', line 29

def initialize
end

Instance Method Details

#cloud(name = "DEFAULT", &block) ⇒ Object



32
33
34
35
36
# File 'lib/hugo.rb', line 32

def cloud(name="DEFAULT", &block)
  cloud = Hugo::Cloud.instance
  cloud.name name
  cloud.instance_eval(&block) if block_given?   
end