lib/convection.rb in convection-0.0.1 vs lib/convection.rb in convection-0.2.1
- old
+ new
@@ -1,18 +1,19 @@
##
# Root module
##
module Convection
class << self
- def template(&block)
- Model::Template.new(&block)
+ def template(*args, &block)
+ Model::Template.new(*args, &block)
end
- def stack(name, template, options = {})
- Control::Stack.new(name, template, options)
+ def stack(*args)
+ Control::Stack.new(*args)
end
end
end
require_relative 'convection/version'
+require_relative 'convection/model/attributes'
require_relative 'convection/model/template'
require_relative 'convection/control/stack'