Class: JdbcGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- JdbcGenerator
- Defined in:
- lib/generators/jdbc/jdbc_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
2 3 4 |
# File 'lib/generators/jdbc/jdbc_generator.rb', line 2 def self.source_root @source_root ||= File.('../../../../rails_generators/templates', __FILE__) end |
Instance Method Details
#create_jdbc_files ⇒ Object
6 7 8 |
# File 'lib/generators/jdbc/jdbc_generator.rb', line 6 def create_jdbc_files directory '.', '.' end |