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