lib/convection.rb in convection-0.2.33 vs lib/convection.rb in convection-0.2.34.pre.beta.1
- old
+ new
@@ -1,13 +1,19 @@
##
# Root module
##
module Convection
class << self
+ # Syntactic sugar for calling {Convection::Model::Template#initialize}.
+ #
+ # @see Convection::Model::Template#initialize
def template(*args, &block)
Model::Template.new(*args, &block)
end
+ # Syntactic sugar for calling {Convection::Control::Stack#initialize}.
+ #
+ # @see Convection::Control::Stack#initialize
def stack(*args, &block)
Control::Stack.new(*args, &block)
end
end
end