Sha256: 6a77c0d4a7f9ed1cd0c948238b3a88e060fc16b14e6b816b658ecbd822810c64
Contents?: true
Size: 429 Bytes
Versions: 7
Compression:
Stored size: 429 Bytes
Contents
class JdbcGenerator < Rails::Generator::Base def manifest record do |m| m.directory 'config/initializers' m.template 'jdbc.rb', File.join('config', 'initializers', 'jdbc.rb') m.directory 'lib/tasks' m.template 'jdbc.rake', File.join('lib', 'tasks', 'jdbc.rake') end end protected def banner "Usage: #{$0} jdbc\nGenerate JDBC bootstrapping files for your Rails application." end end
Version data entries
7 entries across 7 versions & 2 rubygems