# File lib/extlib/struct.rb, line 12
  def attributes
    h = {}
    each_pair { |k,v| h[k] = v }
    h
  end