vendor/bundle/ruby/2.1.0/gems/mousetrap-rails-1.4.6/lib/generators/mousetrap/install/install_generator.rb
def add_css_assets
        if File.exist?('app/assets/stylesheets/application.css')
          insert_into_file "app/assets/stylesheets/application.css", "*= require mousetrap\n ", :before => "*= require_tree ."
        else
          copy_file "application.css", "app/assets/stylesheets/application.css"
        end
      end
# Inject mousetrap styles to manifest file `application.css`
Inject mousetrap styles to manifest file `application.css`
Inject mousetrap styles to manifest file ` application . css `
def add_css_assets
        if File.exist?('app/assets/stylesheets/application.css')
          insert_into_file "app/assets/stylesheets/application.css", "*= require mousetrap\n ", :before => "*= require_tree ."
        else
          copy_file "application.css", "app/assets/stylesheets/application.css"
        end
      end
def add_css_assets if File . exist? ( 'app/assets/stylesheets/application.css' ) insert_into_file "app/assets/stylesheets/application.css" , "*= require mousetrap\n " , :before => "*= require_tree ." else copy_file "application.css" , "app/assets/stylesheets/application.css" end end
Inject mousetrap styles to manifest file `application.css`
Inject mousetrap styles to manifest file ` application . css `