Sha256: b2a7ec134fd8bcbf96f4feba438a82cfaeaec8fcec7613cae6fa1d2526d73e2c

Contents?: true

Size: 625 Bytes

Versions: 8

Compression:

Stored size: 625 Bytes

Contents

# frozen_string_literal: true

require 'table_saw/configuration'
require 'table_saw/connection'
require 'table_saw/dependency_graph'
require 'table_saw/information_schema'
require 'table_saw/manifest'
require 'table_saw/queries'

module TableSaw
  def self.configuration
    @configuration ||= TableSaw::Configuration.new
  end

  def self.configure(args = {})
    if block_given?
      yield configuration
    else
      args.each do |key, value|
        configuration.public_send("#{key}=", value)
      end
    end
  end

  def self.information_schema
    @information_schema ||= TableSaw::InformationSchema.new
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
table_saw-2.2.0 lib/table_saw.rb
table_saw-2.1.0 lib/table_saw.rb
table_saw-2.0.0 lib/table_saw.rb
table_saw-1.3.0 lib/table_saw.rb
table_saw-1.2.0 lib/table_saw.rb
table_saw-1.1.0 lib/table_saw.rb
table_saw-1.0.1 lib/table_saw.rb
table_saw-1.0.0 lib/table_saw.rb