# File lib/core/facets/kernel/instance_variables.rb, line 28
  def to_hash
    h = {}
    each do |name, value|
      h[name] = value
    end
    h
  end