summaryrefslogtreecommitdiff
path: root/lib/rss/rss.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rss/rss.rb')
-rw-r--r--lib/rss/rss.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rss/rss.rb b/lib/rss/rss.rb
index 3d90d54..e1b37e6 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])