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