Sha256: 1404e82e016c4a428f107624d516cfeac733b59f736f1a0d602c7bc881098f1e

Contents?: true

Size: 303 Bytes

Versions: 13

Compression:

Stored size: 303 Bytes

Contents

module AlertMessage
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    def copy_gfiles_alert
      remove_file "app/views/layouts/_alerts.html.erb"
      copy_file "_alerts.html.erb", "app/views/layouts/_alerts.html.erb"
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
alert_message-2.0.2 lib/generators/alert_message/install_generator.rb
alert_message-2.0.1 lib/generators/alert_message/install_generator.rb
alert_message-2.0.0 lib/generators/alert_message/install_generator.rb
alert_message-1.1.8 lib/generators/alert_message/install_generator.rb
alert_message-1.1.7 lib/generators/alert_message/install_generator.rb
alert_message-1.1.6 lib/generators/alert_message/install_generator.rb
alert_message-1.1.5.1 lib/generators/alert_message/install_generator.rb
alert_message-1.1.5 lib/generators/alert_message/install_generator.rb
alert_message-1.1.4 lib/generators/alert_message/install_generator.rb
alert_message-1.1.3.1 lib/generators/alert_message/install_generator.rb
alert_message-1.1.3 lib/generators/alert_message/install_generator.rb
alert_message-1.1.2 lib/generators/alert_message/install_generator.rb
alert_message-1.1.1 lib/generators/alert_message/install_generator.rb