Sha256: db5a48f591cb32bf80c949bd8e3fe651909d62aacbd929ae9f309ccf10be04a7

Contents?: true

Size: 671 Bytes

Versions: 4

Compression:

Stored size: 671 Bytes

Contents

module Bmg
  class Database

    def self.data_folder(*args)
      require_relative 'database/data_folder'
      DataFolder.new(*args)
    end

    def self.sequel(*args)
      require 'bmg/sequel'
      require_relative 'database/sequel'
      Sequel.new(*args)
    end

    def self.xlsx(*args)
      require 'bmg/xlsx'
      require_relative 'database/xlsx'
      Xlsx.new(*args)
    end

    def to_xlsx(*args)
      require 'bmg/xlsx'
      Writer::Xlsx.to_xlsx(self, *args)
    end

    def to_data_folder(*args)
      DataFolder.dump(self, *args)
    end

    def each_relation_pair
      raise NotImplementedError
    end

  end # class Database
end # module Bmg

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bmg-0.23.3 lib/bmg/database.rb
bmg-0.23.2 lib/bmg/database.rb
bmg-0.23.1 lib/bmg/database.rb
bmg-0.23.0 lib/bmg/database.rb