From e47fec1f8697e85acd5ba8992372dbe11628053a Mon Sep 17 00:00:00 2001 From: hsbt Date: Wed, 27 Aug 2014 12:21:41 +0000 Subject: * lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation. [Feature #10174][ruby-core:64584] * lib/erb.rb: ditto. * lib/observer.rb: ditto. * lib/rake/invocation_chain.rb: ditto. * lib/rubygems/command_manager.rb: ditto. * lib/rubygems/config_file.rb: ditto. * lib/uri/common.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/uri/common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/uri') diff --git a/lib/uri/common.rb b/lib/uri/common.rb index 00051a88fa..facca4b08b 100644 --- a/lib/uri/common.rb +++ b/lib/uri/common.rb @@ -51,7 +51,7 @@ module URI end else raise ArgumentError, - "expected Array of or Hash of components of #{klass.to_s} (#{klass.component[1..-1].join(', ')})" + "expected Array of or Hash of components of #{klass} (#{klass.component[1..-1].join(', ')})" end tmp[:scheme] = klass.to_s.sub(/\A.*::/, '').downcase -- cgit v1.2.3