# File lib/hashie/hash.rb, line 11 def to_hash out = {} keys.each do |k| out[k] = Hashie::Hash === self[k] ? self[k].to_hash : self[k] end out end