class ThreadParent::Parents
def [](key)
def [](key) if @child.key?(key) @child[key] elsif @child.parent @child.parent.parents[key] end end
def initialize(child)
def initialize(child) @child = child end
def [](key) if @child.key?(key) @child[key] elsif @child.parent @child.parent.parents[key] end end
def initialize(child) @child = child end