Sha256: f9c518d14e92750347b63b32016f83557bb2ca49e2cb0601afc1aa4c3c3845c8
Contents?: true
Size: 425 Bytes
Versions: 3
Compression:
Stored size: 425 Bytes
Contents
module Skins class InstallGenerator < Rails::Generators::Base desc "Install a skin to your Rails app" def info puts "Install a skin to your Rails app" end def copy_fonts link = "<link href='http://fonts.googleapis.com/css?family=Quicksand:400,700' rel='stylesheet' type='text/css'>" insert_into_file "app/views/layouts/application.html.erb", link, :before => "</head>" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
skins-0.0.3 | lib/generators/skins/install_generator.rb |
skins-0.0.2 | lib/generators/skins/install_generator.rb |
skins-0.0.1 | lib/generators/skins/install_generator.rb |