lib/sugar-high/string.rb in sugar-high-0.6.3 vs lib/sugar-high/string.rb in sugar-high-0.7.0
- old
+ new
@@ -14,10 +14,10 @@
self.strip
end unless "".respond_to? :trim
def concats *args
- args.inject(self) do |res, arg|
+ args.inject(self) do |res, arg|
res << arg.to_s
res
end
end unless "".respond_to? :concats