diff options
Diffstat (limited to 'lib/rss/rss.rb')
-rw-r--r-- | lib/rss/rss.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rss/rss.rb b/lib/rss/rss.rb index e1b37e6a39..3d90d54912 100644 --- a/lib/rss/rss.rb +++ b/lib/rss/rss.rb @@ -591,10 +591,10 @@ EOC def #{accessor_name}=(*args) receiver = self.class.name - warn("Warning:\#{caller.first.sub(/:in `.*'\z/, '')}: " << - "Don't use `\#{receiver}\##{accessor_name} = XXX'/" << - "`\#{receiver}\#set_#{accessor_name}(XXX)'. " << - "Those APIs are not sense of Ruby. " << + warn("Warning:\#{caller.first.sub(/:in `.*'\z/, '')}: " \ + "Don't use `\#{receiver}\##{accessor_name} = XXX'/" \ + "`\#{receiver}\#set_#{accessor_name}(XXX)'. " \ + "Those APIs are not sense of Ruby. " \ "Use `\#{receiver}\##{plural_name} << XXX' instead of them.") if args.size == 1 @#{accessor_name}.push(args[0]) |