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