Sha256: 1df3ee8dcca985e3d7d4bb8473ff0f000e19ae32dec4fc9be31927aa480351ef

Contents?: true

Size: 489 Bytes

Versions: 2

Compression:

Stored size: 489 Bytes

Contents

# frozen_string_literal: true

require 'table_saw/configuration'
require 'table_saw/connection'
require 'table_saw/dependency_graph'
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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
table_saw-0.5.0 lib/table_saw.rb
table_saw-0.4.0 lib/table_saw.rb