Sha256: df90611e440ee7670d1c6121eab8c335ba32c2fcd391b36f5d43540efe66d448

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ts_schema-0.1.1 lib/ts_schema.rb