Sha256: 56154d71ef7277a3e22572e9519ce8bb55952b6bbee9fb3ffba6f34b168e31f0
Contents?: true
Size: 528 Bytes
Versions: 2
Compression:
Stored size: 528 Bytes
Contents
# encoding: utf-8 module UnobtrusiveFlash class InstallGenerator < Rails::Generators::Base desc "Copies unobtrusive_flash.css and .js to their corresponding locations" source_root File.expand_path('../../../templates', __FILE__) def copy_files empty_directory 'public/stylesheets' template 'unobtrusive_flash.css', 'public/stylesheets/unobtrusive_flash.css' empty_directory 'public/javascripts' template 'unobtrusive_flash.js', 'public/javascripts/unobtrusive_flash.js' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
unobtrusive_flash-0.0.2 | lib/generators/unobtrusive_flash/install/install_generator.rb |
unobtrusive_flash-0.0.1 | lib/generators/unobtrusive_flash/install/install_generator.rb |