Sha256: 13abc0d7c767777ae93a64257a51970b2b40f44d104bf9f12152dcc6ab6d1279
Contents?: true
Size: 508 Bytes
Versions: 6
Compression:
Stored size: 508 Bytes
Contents
module Stationed module Generators module Plugins module Generators def self.prepended(base) base.class_option :generators, type: :boolean, default: true, desc: 'Set up default generators to disable helpers, assets, etc' end def finish_template return super unless options[:generators] copy_file 'generators.rb', 'config/initializers/generators.rb' super end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems