⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (111 Bytes)
Bug #12841
» test.rb
最初の引数をEncoding, バイト列とともに表示する -
dogatana (Toshihiko Ichida)
, 10/14/2016 01:05 PM
arg
=
ARGV
[
0
]
puts
"arg:
#{
arg
}
, enc:
#{
arg
.
encoding
}
, bytes:
#{
arg
.
bytes
.
map
{
|
x
|
'%02x'
%
x
}
.join('-')}"
(1-1/1)
Loading...