Module: Plist
- Included in:
- SL::SearchLink
- Defined in:
- lib/searchlink/plist.rb,
lib/searchlink/plist.rb
Overview
Defined Under Namespace
Classes: Listener, PArray, PData, PDate, PDict, PFalse, PInteger, PKey, PList, PReal, PString, PTag, PTrue, StreamParser
Class Method Summary collapse
Class Method Details
.parse_xml(filename_or_xml) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/searchlink/plist.rb', line 14 def self.parse_xml(filename_or_xml) listener = Listener.new parser = StreamParser.new(filename_or_xml, listener) parser.parse listener.result end |