lib/resona.rb in resona-0.1.0 vs lib/resona.rb in resona-0.2.0
- old
+ new
@@ -7,7 +7,12 @@
class << self
def print_formula(gemfile_path, **options)
gems = Resolver.run(gemfile_path, options)
Formula.print(gems)
end
+
+ def generate_resource_stanzas(gemfile_path, **options)
+ gems = Resolver.run(gemfile_path, options)
+ Formula.generate_resource_stanzas(gems)
+ end
end
end