From dfca247f666821d41176737a89186cecf4a7a1fa Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 14 Jan 2008 14:37:29 +0000 Subject: * ext/nkf/lib/kconv.rb (Kconv.tolocale): argument is str. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/nkf/lib/kconv.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/nkf/lib') diff --git a/ext/nkf/lib/kconv.rb b/ext/nkf/lib/kconv.rb index 159a5aa233..81a8a4b72b 100644 --- a/ext/nkf/lib/kconv.rb +++ b/ext/nkf/lib/kconv.rb @@ -124,7 +124,7 @@ module Kconv # Kconv.tolocale => string # # Convert self to locale encoding - def tolocale + def tolocale(str) kconv(str, Encoding.locale_charmap) end module_function :tolocale -- cgit v1.2.3