class Wordpress::WXR::Author
Public Instance Methods
==(other)
click to toggle source
# File lib/wordpress/wxr/author.rb, line 31 def ==(other) self.class == other.class && id == other.id && login == other.login end
Also aliased as: eql?
display_name()
click to toggle source
# File lib/wordpress/wxr/author.rb, line 19 def display_name node.xpath('wp:author_display_name').text end
email()
click to toggle source
# File lib/wordpress/wxr/author.rb, line 15 def email Mail::Address.new(node.xpath('wp:author_email').text) end
first_name()
click to toggle source
# File lib/wordpress/wxr/author.rb, line 23 def first_name node.xpath('wp:author_first_name').text end
id()
click to toggle source
# File lib/wordpress/wxr/author.rb, line 7 def id Integer(node.xpath('wp:author_id').text) end
last_name()
click to toggle source
# File lib/wordpress/wxr/author.rb, line 27 def last_name node.xpath('wp:author_last_name').text end
login()
click to toggle source
# File lib/wordpress/wxr/author.rb, line 11 def login node.xpath('wp:author_login').text end