Module: RFilemaker

Defined in:
lib/rfilemaker.rb,
lib/rfilemaker/row.rb,
lib/rfilemaker/field.rb,
lib/rfilemaker/record.rb,
lib/rfilemaker/result_set.rb

Defined Under Namespace

Classes: Field, Record, ResultSet, Row, SpecialHash

Class Method Summary collapse

Class Method Details

.parse(string) ⇒ Object

Parse a FMPXMLRESULT string into an Array

Each element in the Array is a Hash, representing a row in the imported XML



17
18
19
20
# File 'lib/rfilemaker.rb', line 17

def self.parse(string)
  doc = Nokogiri::XML.parse(string)
  ResultSet.new(doc)
end