diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-15 11:33:36 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-15 11:33:36 +0200 |
commit | 0702e04e0d671227259f71f614adfe3f35f88b48 (patch) | |
tree | 9f3c34075fbb4ed4c227f66fd3168de86f8ab1f4 /railties/lib/generators/rails/plugin/templates | |
parent | a06c825b464758a0c22f8b089a596e46f1bba5cb (diff) | |
download | rails-0702e04e0d671227259f71f614adfe3f35f88b48.tar.gz rails-0702e04e0d671227259f71f614adfe3f35f88b48.tar.bz2 rails-0702e04e0d671227259f71f614adfe3f35f88b48.zip |
Refactored some generators to make use of improved invocations on thor.
Diffstat (limited to 'railties/lib/generators/rails/plugin/templates')
3 files changed, 0 insertions, 13 deletions
diff --git a/railties/lib/generators/rails/plugin/templates/lib/generators/%file_name%_generator.rb.tt b/railties/lib/generators/rails/plugin/templates/lib/generators/%file_name%_generator.rb.tt deleted file mode 100644 index 675f00043f..0000000000 --- a/railties/lib/generators/rails/plugin/templates/lib/generators/%file_name%_generator.rb.tt +++ /dev/null @@ -1,5 +0,0 @@ -class <%= class_name %>Generator < Rails::Generators::NamedBase - def self.source_root - @source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'templates')) - end -end diff --git a/railties/lib/generators/rails/plugin/templates/lib/generators/USAGE.tt b/railties/lib/generators/rails/plugin/templates/lib/generators/USAGE.tt deleted file mode 100644 index ea9f4f12cc..0000000000 --- a/railties/lib/generators/rails/plugin/templates/lib/generators/USAGE.tt +++ /dev/null @@ -1,8 +0,0 @@ -Description: - Explain the generator - -Example: - ./script/generate <%= file_name %> Thing - - This will create: - what/will/it/create diff --git a/railties/lib/generators/rails/plugin/templates/lib/generators/templates/.empty_directory b/railties/lib/generators/rails/plugin/templates/lib/generators/templates/.empty_directory deleted file mode 100644 index e69de29bb2..0000000000 --- a/railties/lib/generators/rails/plugin/templates/lib/generators/templates/.empty_directory +++ /dev/null |