Class Helpers::REXML::Attributes
In: lib/violet/helpers.rb
Parent: Object
Attributes REXML Helpers dot/f_7.png

REXML::Attributes#to_hash seems to be broken.

Methods

to_hash  

External Aliases

to_hash -> to_hash_old

Public Instance methods

convert attributes to an instance of Hash.

[Source]

    # File lib/violet/helpers.rb, line 18
18:     def to_hash
19:       h = Hash.new
20:       self.each { |key,value| h[key.to_sym] = value }
21:       h
22:     end

[Validate]