Sha256: 959237d3eae66aec8a880f65036851ae1bd9e97c998a7b63053e55fa1fc20db1
Contents?: true
Size: 535 Bytes
Versions: 8
Compression:
Stored size: 535 Bytes
Contents
require "rails/generators" class KennyDialogginsGenerator < Rails::Generators::Base # This call establishes the path to the templates directory. # def self.source_root File.join(File.dirname(__FILE__), "templates") end # This method copies stylesheet and javascript files to the # corresponding public directories. # def generate_assets copy_file "kenny_dialoggins.css", "public/stylesheets/kenny_dialoggins.css" copy_file "kenny_dialoggins.js", "public/javascripts/kenny_dialoggins.js" end end
Version data entries
8 entries across 8 versions & 1 rubygems