lib/jets/lambda/dsl.rb in jets-0.6.8 vs lib/jets/lambda/dsl.rb in jets-0.6.9

- old
+ new

@@ -40,10 +40,14 @@ def class_handler(name) class_properties(handler: name) end + def class_runtime(value) + class_properties(runtime: value) + end + # convenience method that set properties def timeout(value) properties(timeout: value) end @@ -142,9 +146,15 @@ # ==== Returns # Array of task objects # def tasks all_tasks.values + end + + # Used in Jets::Cfn::TemplateBuilders::Interface#build + # Overridden in rule/dsl.rb + def build? + !tasks.empty? end # The public methods defined in the project app class ulimately become # lambda functions. #