class FlattenDB::MDB

Public Class Methods

new(options) click to toggle source
Calls superclass method FlattenDB::Base.new
# File lib/flattendb/types/mdb.rb, line 39
def initialize(options)
  super
  parse
end

Public Instance Methods

flatten!(options = {}) click to toggle source
# File lib/flattendb/types/mdb.rb, line 55
def flatten!(options = {})
  self
end
parse() click to toggle source
# File lib/flattendb/types/mdb.rb, line 44
def parse
  tables_cmd, export_cmd = 'mdb-tables', 'mdb-export'

  [tables_cmd, export_cmd].each { |cmd|
    next if File.which(cmd)
    abort "Command not found: #{cmd}! Please install `mdbtools' first."
  }

  # ...
end
to_xml(output = output, builder_options = {}) click to toggle source
# File lib/flattendb/types/mdb.rb, line 59
def to_xml(output = output, builder_options = {})
  self
end