Sha256: 7a334e6a41b97e7bedff1e26bdb61bab51cde6ff11e20ea6c98160af9ed82b5c
Contents?: true
Size: 353 Bytes
Versions: 1
Compression:
Stored size: 353 Bytes
Contents
require "rails/generators/named_base" module Myth module Generators class AssetsGenerator < ::Rails::Generators::NamedBase source_root File.expand_path("../templates", __FILE__) def copy_myth template "stylesheet.css.myth", File.join('app/assets/stylesheets', class_path, "#{file_name}.css.myth") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
myth-rails-1.0.1 | lib/rails/generators/myth/assets/assets_generator.rb |