class Rexle::Recordset
Public Class Methods
new(a)
click to toggle source
Calls superclass method
# File lib/rexle.rb, line 1620 def initialize(a) super(a) end
Public Instance Methods
element(xpath)
click to toggle source
# File lib/rexle.rb, line 1635 def element(xpath) self.to_doc.root.element(xpath) end
to_doc(root: 'root')
click to toggle source
# File lib/rexle.rb, line 1624 def to_doc(root: 'root') recordset = self.map(&:to_a) Rexle.new([root,{}, *recordset]) end
xpath(xpath)
click to toggle source
# File lib/rexle.rb, line 1631 def xpath(xpath) self.to_doc.root.xpath(xpath) end