Sha256: cd4a8e889b536c26ed4d36cc13ce17cc7b6d6f64f5291379d89ecfc877c03b73
Contents?: true
Size: 684 Bytes
Versions: 22
Compression:
Stored size: 684 Bytes
Contents
require "bigquery_migration/version" require "bigquery_migration/error" require "bigquery_migration/schema" require "bigquery_migration/logger" require "bigquery_migration/bigquery_wrapper" class BigqueryMigration def self.logger @logger ||= Logger.new(STDOUT) end def self.logger=(logger) @logger = logger end def initialize(*args) @wrapper = BigqueryWrapper.new(*args) end # Delegate to BigqueryWrapper instance BigqueryWrapper.instance_methods(false).each do |name| next if method_defined?(name) class_eval <<-"EOS", __FILE__, __LINE__ + 1 def #{name}(*args, &block) @wrapper.#{name}(*args, &block) end EOS end end
Version data entries
22 entries across 22 versions & 1 rubygems