lib/generative/dsl.rb in generative-0.2.0 vs lib/generative/dsl.rb in generative-0.2.2
- old
+ new
@@ -2,7 +2,12 @@
define_example_group_method :generative, { generative: true, order: :generative}
class << self
alias_method :data, :let
+ alias_method :for_every, :let
+ end
+
+ def generate(generator_name, *args)
+ Generative.generate(generator_name, *args)
end
end