class AlertMessage::InstallGenerator

Public Instance Methods

copy_gfiles_alert() click to toggle source
# File lib/generators/alert_message/install_generator.rb, line 5
def copy_gfiles_alert
  remove_file "app/views/layouts/_alerts.html.erb"
  copy_file "_alerts.html.erb", "app/views/layouts/_alerts.html.erb"
end