Class: JdbcGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/jdbc/jdbc_generator.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



2
3
4
# File 'lib/generators/jdbc/jdbc_generator.rb', line 2

def self.source_root
  @source_root ||= File.expand_path('../../../../rails_generators/templates', __FILE__)
end

Instance Method Details

#create_jdbc_filesObject



6
7
8
# File 'lib/generators/jdbc/jdbc_generator.rb', line 6

def create_jdbc_files
  directory '.', '.'
end