summaryrefslogtreecommitdiff
path: root/lib/rss/maker/entry.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rss/maker/entry.rb')
-rw-r--r--lib/rss/maker/entry.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/maker/entry.rb b/lib/rss/maker/entry.rb
index b35936b..f8f5469 100644
--- a/lib/rss/maker/entry.rb
+++ b/lib/rss/maker/entry.rb
@@ -99,7 +99,7 @@ module RSS
end
end
- def _set_default_values(&block)
+ def _set_default_values
keep = {
:authors => authors.to_a.dup,
:contributors => contributors.to_a.dup,
@@ -126,7 +126,7 @@ module RSS
@maker.channel.title {|t| @title = t}
end
self.updated ||= @maker.channel.updated
- super(&block)
+ super
ensure
authors.replace(keep[:authors])
contributors.replace(keep[:contributors])