diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-27 04:45:24 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-27 04:45:24 +0000 |
commit | 4365f6710d42c17152e94c40e9ce349d96b5c057 (patch) | |
tree | 02c2c63c8882c66f63cf31657f128f0142d1e21b /lib/rss/maker | |
parent | 23c14c361377e15d875cd059df07190bfbde2c79 (diff) | |
download | ruby-4365f6710d42c17152e94c40e9ce349d96b5c057.tar.gz |
* 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/maker')
-rw-r--r-- | lib/rss/maker/base.rb | 8 |
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 |