class Onebusaway::Base
Public Class Methods
from_xml(xml_or_data)
click to toggle source
# File lib/onebusaway.rb, line 101 def self.from_xml(xml_or_data) xml_or_data = REXML::Document.new(xml_or_data).root if xml_or_data.is_a?(String) self.parse(xml_or_data) end
parse(data)
click to toggle source
# File lib/onebusaway.rb, line 106 def self.parse(data) raise "not implemented" end