mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: fix a bug
that RSS Maker doesn't accept 'false' as guid's isPermaLink. Reported by Joe Holt. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9096abd36a
commit
b0947c5e04
3 changed files with 27 additions and 1 deletions
|
@ -238,7 +238,7 @@ module RSS
|
|||
setter = "#{var}="
|
||||
if target.respond_to?(setter)
|
||||
value = __send__(var)
|
||||
if value
|
||||
unless value.nil?
|
||||
target.__send__(setter, value)
|
||||
set = true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue