Sha256: 6c9ed568e4234bf37e29c6bb0b766a458fed9894300a675c3cd5cd818ea1c77c
Contents?: true
Size: 414 Bytes
Versions: 17
Compression:
Stored size: 414 Bytes
Contents
module SimpleNotifications class InstallGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) def copy_initializer_file copy_file "initializer.rb", "config/initializers/simple_notifications.rb" end def create_migration_file copy_file "migration.rb", "db/migrate/#{Time.now.strftime("%Y%m%d%H%M%S")}_create_simple_notifications.rb" end end end
Version data entries
17 entries across 17 versions & 1 rubygems