Sha256: b01e157ba43976420a6a4a2af832fe97ea8de324cc433c1cbf7d72055719a755
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
module Stylin class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../../templates", __FILE__) desc "Installs Stylin ready for use." def install copy_file "stylin.yml", "config/stylin.yml" empty_directory "app/styleguides" route "mount Stylin::Engine => '/styleguides' if Rails.env.development?" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stylin-0.1.0 | lib/generators/stylin/install_generator.rb |