Sha256: 38ecd4c0e85f7f4859188d5a4fd9719a8e49d579255e2a74e895a1edb2263f52
Contents?: true
Size: 489 Bytes
Versions: 2
Compression:
Stored size: 489 Bytes
Contents
require 'stationed/version' module Stationed module Generators module Plugins module Stationed def self.prepended(base) base.class_option :stationed, type: :boolean, default: true, desc: 'Include stationed itself as an engine' end def finish_template return super unless options[:stationed] gem 'stationed', ::Stationed::VERSION super end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stationed-0.6.0 | lib/stationed/generators/plugins/stationed.rb |
stationed-0.5.0 | lib/stationed/generators/plugins/stationed.rb |