Created
July 28, 2008 16:16
-
-
Save jnicklas/2909 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Merb::Generators | |
class DatamapperModelGenerator < ComponentGenerator | |
# do stuff here | |
end | |
add_private :datamapper_model | |
ModelGenerator.invoke :datamapper_model, :orm => :datamapper | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# stuff oading the rest of the merb-datamapper plugin | |
Merb.add_generator 'datamapper_model_generator.rb' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment