rails/railties/test/fixtures/lib/plugin_builders/tweak_builder.rb
Piotr Sarnacki cfcea1d53a Added 'rails plugin new' generator which generates gem plugin skeleton.
This command is based on enginex gem by José Valim. It generates gem structure
and ads dummy application into test/dummy. This can be used to start developing
any kind of extension for rails 3.
2010-11-02 17:14:49 +01:00

8 lines
123 B
Ruby

class PluginBuilder < Rails::PluginBuilder
def gitignore
create_file ".gitignore", <<-R.strip
foobar
R
end
end