Class: WikiAvro::MediaWiki::Comment
Instance Attribute Summary
Attributes inherited from XML::Element
#attr
Instance Method Summary
collapse
Methods inherited from XML::Leaf
#initialize
#optional?, #parse
Instance Method Details
#name ⇒ Object
410
411
412
|
# File 'lib/wikiavro/mediawiki.rb', line 410
def name
'comment'
end
|
#parse_attributes(w, p, r) ⇒ Object
414
415
416
417
418
419
|
# File 'lib/wikiavro/mediawiki.rb', line 414
def parse_attributes(w, p, r)
deleted = r['deleted']
= r.read_string
p. = {:deleted => deleted,
:comment => }
end
|