Module: RichCms::Generators::Migration::ClassMethods

Defined in:
lib/generators/rich_cms.rb

Instance Method Summary collapse

Instance Method Details

#next_migration_number(dirname) ⇒ Object



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

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