Sha256: 495483c7237c0f49bbf7114c0d3f2b177ba7ca7bf127be06c21b3c6cc69137e1

Contents?: true

Size: 477 Bytes

Versions: 7

Compression:

Stored size: 477 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'
require_relative 'base'

module Kowl
  class MiscGenerator < Kowl::Generators::Base
    hide!
    source_root File.expand_path(File.join('..', 'templates'), File.dirname(__FILE__))

    # Create variables folders in the /apps path for services, workers, etc
    def create_app_folders
      folders = %w[serializers services workers]

      folders.each do |d|
        mk_appdir("app/#{d}")
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kowl-0.0.7 lib/kowl/generators/misc_generator.rb
kowl-0.0.6 lib/kowl/generators/misc_generator.rb
kowl-0.0.5 lib/kowl/generators/misc_generator.rb
kowl-0.0.4 lib/kowl/generators/misc_generator.rb
kowl-0.0.3 lib/kowl/generators/misc_generator.rb
kowl-0.0.2 lib/kowl/generators/misc_generator.rb
kowl-0.0.1 lib/kowl/generators/misc_generator.rb