lib/generators/plugin_generator/plugin_generator.rb in mack-0.1.0 vs lib/generators/plugin_generator/plugin_generator.rb in mack-0.2.0
- old
+ new
@@ -9,10 +9,10 @@
# vendor/plugins/my_cool_plugin/lib/my_cool_plugin.rb
class PluginGenerator < Mack::Generator::Base
require_param :name
- def generate
+ def generate # :nodoc:
plugin_dir = File.join(MACK_ROOT, "vendor", "plugins", param(:name).downcase)
template_dir = File.join(File.dirname(__FILE__), "templates")
# create vendor/plugins/<name>
directory(plugin_dir)
\ No newline at end of file