class Rexle::Recordset
Public Class Methods
new(a)
click to toggle source
Calls superclass method
# File lib/rexle.rb, line 1634 def initialize(a) super(a) end
Public Instance Methods
element(xpath)
click to toggle source
# File lib/rexle.rb, line 1649 def element(xpath) self.to_doc.root.element(xpath) end
to_doc(root: 'root')
click to toggle source
# File lib/rexle.rb, line 1638 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 1645 def xpath(xpath) self.to_doc.root.xpath(xpath) end