Sha256: 380c8364fb0a3744f6d896ef4ba9a60f6d5f41a17e00831ee5d65d422be414c8
Contents?: true
Size: 410 Bytes
Versions: 1
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true require 'rails/generators' require 'rails/generators/migration' module NotificationPusher class InstallGenerator < Rails::Generators::Base source_root(File.join(File.dirname(__FILE__), '../templates/install')) desc 'Install NotificationPusher' def create_initializer template 'initializer.rb', 'config/initializers/notification-pusher.rb' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
notification-pusher-1.2.6 | lib/generators/notification_pusher/install_generator.rb |