Skip to content

Commit

Permalink
move generators to lib
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhu committed Mar 6, 2010
1 parent f368392 commit 3b5ff6c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
@@ -1,4 +1,6 @@
class CommentGenerator < Rails::Generator::Base
require 'rails/generators'

class CommentGenerator < Rails::Generators::Base
def manifest
record do |m|
m.directory 'app/models'
Expand All @@ -10,4 +12,4 @@ def manifest
def file_name
"create_comments"
end
end
end
File renamed without changes.

0 comments on commit 3b5ff6c

Please sign in to comment.