Returns a hash containing the names and values for all instance variables in the Struct.
[ + ]
# File lib/core/facets/struct/attributes.rb, line 4 def attributes h = {} each_pair { |k,v| h[k] = v } h end