class Cssbt::FoundationGenerator
Public Instance Methods
copy()
click to toggle source
# File lib/generators/cssbt/foundation/foundation_generator.rb, line 12 def copy copy_file "foundation.css", "app/assets/stylesheets/foundation.css" copy_file "foundation.min.js", "app/assets/javascripts/foundation.js" end
insert()
click to toggle source
# File lib/generators/cssbt/foundation/foundation_generator.rb, line 7 def insert insert_into_file "app/assets/stylesheets/application.css", "*= require foundation\n", :after => "*= require_self\n" insert_into_file "app/assets/javascripts/application.js", "//= require foundation\n", :after => "//= require jquery\n" end