class Fog::Parsers::Base
Attributes
Public Class Methods
Public Instance Methods
Source
# File lib/fog/parsers/base.rb, line 12 def attr_value(name, attrs) (entry = attrs.find {|a| a.localname == name }) && entry.value end
Source
# File lib/fog/parsers/base.rb, line 20 def characters(string) @value ||= '' @value << string end
Source
# File lib/fog/parsers/base.rb, line 32 def end_element_namespace name, prefix = nil, uri = nil end_element name end
Source
# File lib/fog/parsers/base.rb, line 38 def start_element(name, attrs = []) @value = nil end
Source
# File lib/fog/parsers/base.rb, line 28 def start_element_namespace name, attrs = [], prefix = nil, uri = nil, ns = [] start_element name, attrs end
############################################################################### This is a workaround. Original implementation from Nokogiri is overwritten with one that does not join namespace prefix with local name.