Sha256: c1688a7cf7ca46f7c66f3bdaaec1fb75ca837649b48e045b9616f0bff91fb0d7
Contents?: true
Size: 356 Bytes
Versions: 17
Compression:
Stored size: 356 Bytes
Contents
require "rails/generators/named_base" module Stylus module Generators class AssetsGenerator < ::Rails::Generators::NamedBase source_root File.expand_path("../templates", __FILE__) def copy_stylus template "stylesheet.css.styl", File.join('app/assets/stylesheets', class_path, "#{file_name}.css.styl") end end end end
Version data entries
17 entries across 17 versions & 1 rubygems