Sha256: 66c8688b8ceb7aff49fa1b1833ac2ee0da17d3162c458b2570baf95739d72525

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

module Ryakuzu
  module SchemaExtenstions
    require 'virtus'
    require 'csv'
    require 'fileutils'

    attr_reader :file, :schema, :schema_hash

    private

    def table_field(table)
      table.delete("\"").delete(',') if table
    end

    def column_field(field)
      field.delete("\",").chomp('t.') if field
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ryakuzu-0.3.0 lib/ryakuzu/tools/schema_extenstions.rb