Sha256: 7149920c2e6831f89435c6f0cc51c1ea8a08c12160de76126c0a4ff1600d71cc

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true

module Occams
  module Generators
    module Cms
      class ModelsGenerator < Rails::Generators::Base
        source_root File.expand_path(File.join(File.dirname(__FILE__), "../../../../app/models"))

        def generate_models
          directory "occams", "app/models/occams"
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
occams-1.0.1 lib/generators/occams/cms/models_generator.rb