Class: ActiveGroonga::Generators::Base
- Inherits:
-
Rails::Generators::NamedBase
- Object
- Rails::Generators::NamedBase
- ActiveGroonga::Generators::Base
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/rails/generators/active_groonga.rb
Overview
:nodoc:
Direct Known Subclasses
Class Method Summary (collapse)
Class Method Details
+ (Object) base_root
27 28 29 |
# File 'lib/rails/generators/active_groonga.rb', line 27 def base_root File.dirname(__FILE__) end |
+ (Object) next_migration_number(dirname)
:nodoc:
31 32 33 |
# File 'lib/rails/generators/active_groonga.rb', line 31 def next_migration_number(dirname) #:nodoc: Time.now.utc.strftime("%Y%m%d%H%M%S") end |