From 4365f6710d42c17152e94c40e9ce349d96b5c057 Mon Sep 17 00:00:00 2001 From: kou Date: Sat, 27 Jun 2009 04:45:24 +0000 Subject: * NEWS, lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: add item.guid.permanent_link? and item.guid.permanent_link=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rss/maker/base.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/rss/maker/base.rb') diff --git a/lib/rss/maker/base.rb b/lib/rss/maker/base.rb index 6b42f11fcb..9ccfba7e84 100644 --- a/lib/rss/maker/base.rb +++ b/lib/rss/maker/base.rb @@ -746,6 +746,14 @@ module RSS attr_accessor element add_need_initialize_variable(element) end + + def permanent_link? + isPermaLink + end + + def permanent_link=(bool) + self.isPermaLink = bool + end end class EnclosureBase < Base -- cgit v1.2.3