* 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:
parent
7d8c42297e
commit
dfca247f66
@ -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>
|
Mon Jan 14 23:31:05 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* configure.in (setup): add -I$(EXTOUT)/$(arch) to MINIRUBY.
|
* configure.in (setup): add -I$(EXTOUT)/$(arch) to MINIRUBY.
|
||||||
|
@ -124,7 +124,7 @@ module Kconv
|
|||||||
# Kconv.tolocale => string
|
# Kconv.tolocale => string
|
||||||
#
|
#
|
||||||
# Convert <code>self</code> to locale encoding
|
# Convert <code>self</code> to locale encoding
|
||||||
def tolocale
|
def tolocale(str)
|
||||||
kconv(str, Encoding.locale_charmap)
|
kconv(str, Encoding.locale_charmap)
|
||||||
end
|
end
|
||||||
module_function :tolocale
|
module_function :tolocale
|
||||||
|
Loading…
x
Reference in New Issue
Block a user