Module: RichI18n::Generators::Migration::ClassMethods

Defined in:
lib/generators/rich_i18n.rb

Instance Method Summary collapse

Instance Method Details

#next_migration_number(dirname) ⇒ Object



18
19
20
# File 'lib/generators/rich_i18n.rb', line 18

def next_migration_number(dirname)
  Time.now.strftime "%Y%m%d%H%M%S"
end