Sha256: 0d1459925f55de95ab1ba0c25b03f068ed7f5396d7015a49d8cbd35ee334df2b
Contents?: true
Size: 353 Bytes
Versions: 57
Compression:
Stored size: 353 Bytes
Contents
require "rails/generators/named_base" module Scss module Generators class AssetsGenerator < ::Rails::Generators::NamedBase source_root File.expand_path("../templates", __FILE__) def copy_scss template "stylesheet.css.scss", File.join('app/assets/stylesheets', class_path, "#{file_name}.css.scss") end end end end
Version data entries
57 entries across 55 versions & 8 rubygems