class Wordpress::WXR::Tag
Public Instance Methods
==(other)
click to toggle source
# File lib/wordpress/wxr/tag.rb, line 18 def ==(other) self.class == other.class && (name == other.name || id == other.id) end
Also aliased as: eql?
id()
click to toggle source
# File lib/wordpress/wxr/tag.rb, line 6 def id Integer(node.xpath('wp:term_id').text) end
name()
click to toggle source
# File lib/wordpress/wxr/tag.rb, line 14 def name node.xpath('wp:tag_name').text end
slug()
click to toggle source
# File lib/wordpress/wxr/tag.rb, line 10 def slug node.xpath('wp:tag_slug').text end