Sha256: 990429b86da52f100edb436da5f5d3732a8007eea614374b8afc58b6157017b5

Contents?: true

Size: 445 Bytes

Versions: 15

Compression:

Stored size: 445 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'
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
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ts_schema-1.0.1 lib/generators/install_generator.rb
ts_schema-1.0.0 lib/generators/install_generator.rb
ts_schema-0.2.1 lib/generators/install_generator.rb
ts_schema-0.1.14 lib/generators/install_generator.rb
ts_schema-0.1.13 lib/generators/install_generator.rb
ts_schema-0.1.12 lib/generators/install_generator.rb
ts_schema-0.1.11 lib/generators/install_generator.rb
ts_schema-0.1.10 lib/generators/install_generator.rb
ts_schema-0.1.9 lib/generators/install_generator.rb
ts_schema-0.1.8 lib/generators/install_generator.rb
ts_schema-0.1.7 lib/generators/install_generator.rb
ts_schema-0.1.6 lib/generators/install_generator.rb
ts_schema-0.1.5 lib/generators/install_generator.rb
ts_schema-0.1.4 lib/generators/install_generator.rb
ts_schema-0.1.3 lib/generators/install_generator.rb