Method: Atom::Collection.parse
- Defined in:
- lib/atom/collection.rb
.parse(xml, base = '') ⇒ Object
80 81 82 83 84 85 86 87 88 89 |
# File 'lib/atom/collection.rb', line 80 def self.parse xml, base = '' e = super # URL absolutization if !e.base.empty? and e.href e.href = (e.base.to_uri + e.href).to_s end e end |