Sha256: a44927fdbf355ab3696bc00293d13f4bfff510408316e8690a5b093b2b39bc11

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'fathom'))
class Fathom::KnowledgeBase
  
  def initialize(opts={})
    opts = OptionsHash.new(opts)
    @data_store = {}
  end
  
  def []=(key, value)
    @data_store[key] = value
  end
  
  def [](key)
    @data_store[key]
  end
  
end

if __FILE__ == $0
  include Fathom
  # TODO: Is there anything you want to do to run this file on its own?
  # KnowledgeBase.new
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fathom-0.1.0 lib/fathom/knowledge_base.rb