Sha256: 1fe80829534310f012e0d8090f0b28f96775fca89782941ba807908b375b1bb8

Contents?: true

Size: 433 Bytes

Versions: 6

Compression:

Stored size: 433 Bytes

Contents

module SpiffyStoresApp
  module Generators
    class SpiffyStoresAppGenerator < Rails::Generators::Base
      def initialize(args, *options)
        @opts = options.first
        super(args, *options)
      end

      def run_all_generators
        generate "spiffy_stores_app:install #{@opts.join(' ')}"
        generate "spiffy_stores_app:shop_model"
        generate "spiffy_stores_app:home_controller"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spiffy_stores_app-8.2.11 lib/generators/spiffy_stores_app/spiffy_stores_app_generator.rb
spiffy_stores_app-8.2.10 lib/generators/spiffy_stores_app/spiffy_stores_app_generator.rb
spiffy_stores_app-8.2.9 lib/generators/spiffy_stores_app/spiffy_stores_app_generator.rb
spiffy_stores_app-8.2.8 lib/generators/spiffy_stores_app/spiffy_stores_app_generator.rb
spiffy_stores_app-8.2.7 lib/generators/spiffy_stores_app/spiffy_stores_app_generator.rb
spiffy_stores_app-8.2.6 lib/generators/spiffy_stores_app/spiffy_stores_app_generator.rb