Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

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.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3b5ff6c

Please sign in to comment.