Sha256: bde8a379d2ac2ff485de15604b50f4a8de9a4f4af1da9e1a3c9fed76e13323b2
Contents?: true
Size: 310 Bytes
Versions: 1
Compression:
Stored size: 310 Bytes
Contents
require 'rails/generators' module Cachers module Generators class CacherGenerator < ::Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def create_cacher_file template 'cacher.rb', "app/cachers/#{file_name}_cacher.rb" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cachers-4.0.0.0 | lib/generators/cacher/cacher_generator.rb |