Sha256: 555349bc6a8f83f87ab68dd91dc8a612532276abb5351eb54f74eac6cc8c351d

Contents?: true

Size: 511 Bytes

Versions: 7

Compression:

Stored size: 511 Bytes

Contents

require "ts_schema/version"
require "ts_schema/railtie"

require "ts_schema/configuration"
require "ts_schema/schema_generator"

module TsSchema
  class << self
    def setup(&block)
      configuration.assign(&block)
    end

    def configuration
      @configuration ||= Configuration.new
    end

    def generate
      SchemaGenerator.new.generate
    end

		def output_file
			SchemaGenerator.new.output_file
		end
  end
end

require "generators/install_generator"
require "generators/generate_generator"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ts_schema-0.1.10 lib/ts_schema.rb
ts_schema-0.1.9 lib/ts_schema.rb
ts_schema-0.1.8 lib/ts_schema.rb
ts_schema-0.1.7 lib/ts_schema.rb
ts_schema-0.1.6 lib/ts_schema.rb
ts_schema-0.1.5 lib/ts_schema.rb
ts_schema-0.1.4 lib/ts_schema.rb