Parent

Files

Class/Module Index [+]

Quicksearch

JdbcGenerator

Public Class Methods

desc(description=nil) click to toggle source
# File lib/generators/jdbc/jdbc_generator.rb, line 10
def self.desc(description=nil)
  return super if description
  "Description:\n" <<
  "  Creates stubs that ensure AR-JDBC is bootstrapped in your Rails application.\n" <<
  "  NOTE: you should not need this if you're on Rails >= 3.0 (using Bundler) ..."
end
source_root() click to toggle source
# File lib/generators/jdbc/jdbc_generator.rb, line 2
def self.source_root
  @source_root ||= File.expand_path('../../../../rails_generators/templates', __FILE__)
end

Public Instance Methods

create_jdbc_files() click to toggle source
# File lib/generators/jdbc/jdbc_generator.rb, line 6
def create_jdbc_files
  directory '.', '.'
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.