summaryrefslogtreecommitdiff
path: root/lib/rss
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-27 04:45:24 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-27 04:45:24 +0000
commit4365f6710d42c17152e94c40e9ce349d96b5c057 (patch)
tree02c2c63c8882c66f63cf31657f128f0142d1e21b /lib/rss
parent23c14c361377e15d875cd059df07190bfbde2c79 (diff)
* 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
Diffstat (limited to 'lib/rss')
-rw-r--r--lib/rss/maker/base.rb8
1 files changed, 8 insertions, 0 deletions
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