Sha256: 6a3d42c11a09e6ab91bc13a043572954476da50398222dc54dd66e4a4772c099

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators/base'

module TsSchema
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      desc "Creates ts_schmea.rb in config/initializers with default options."

      def copy_initializer
        template "ts_schema.rb", "config/initializers/ts_schema.rb"
      end

      # def show_readme
      #   readme "README" if behavior == :invoke
      # end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ts_schema-0.1.1 lib/generators/install_generator.rb