# File lib/eim_xml.rb, line 65 def initialize(name, attributes={}) @name = name.to_sym @attributes = Hash.new @contents = Array.new attributes.each do |k, v| @attributes[k.to_sym] = v end yield(self) if block_given? end