Sha256: 4f00d6035eb26571f4995a4873e3b78e97d9952f202d8d0e21d6ffdbf0ae561b
Contents?: true
Size: 345 Bytes
Versions: 37
Compression:
Stored size: 345 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.scss", File.join('app/assets/stylesheets', class_path, "#{file_name}.scss") end end end end
Version data entries
37 entries across 31 versions & 7 rubygems