1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
naruse 2008-01-14 14:37:29 +00:00
parent 7d8c42297e
commit dfca247f66
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon Jan 14 23:33:02 2008 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/lib/kconv.rb (Kconv.tolocale): argument is str.
Mon Jan 14 23:31:05 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* configure.in (setup): add -I$(EXTOUT)/$(arch) to MINIRUBY.

View file

@ -124,7 +124,7 @@ module Kconv
# Kconv.tolocale => string
#
# Convert <code>self</code> to locale encoding
def tolocale
def tolocale(str)
kconv(str, Encoding.locale_charmap)
end
module_function :tolocale