# File lib/facet/hash/to_ostruct_recurse.rb, line 10
  def to_ostruct_recurse
    o = self.dup
    each_pair do |k,v|
      o[k] = v.to_ostruct_recurse if v.respond_to?( :to_ostruct_recurse )
    end
    OpenStruct.new( o )
  end