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