class Analects::Generators::Base
Public Class Methods
next_migration_number(dirname)
click to toggle source
# File lib/generators/analects.rb, line 10 def self.next_migration_number(dirname) ActiveRecord::Generators::Base.next_migration_number(dirname) end
source_root()
click to toggle source
# File lib/generators/analects.rb, line 14 def self.source_root @_analects_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'analects', generator_name, 'templates')) end