diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rss/maker/base.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/rss/maker/base.rb b/lib/rss/maker/base.rb index 907451cc38..0713d276a4 100644 --- a/lib/rss/maker/base.rb +++ b/lib/rss/maker/base.rb @@ -411,12 +411,8 @@ module RSS end def make - if block_given? - yield(self) - to_feed - else - nil - end + yield(self) + to_feed end def to_feed |