2件ヒット
[1-2件を表示]
(0.108秒)
ライブラリ
- ipaddr (2)
検索結果
-
IPAddr
# to _ s -> String (72703.0) -
文字列に変換します。
...文字列に変換します。
require 'ipaddr'
addr6 = IPAddr.new('::1')
addr6.to_s #=> "::1"
addr6.to_string #=> "0000:0000:0000:0000:0000:0000:0000:0001"
@see IPAddr#to_string... -
IPAddr
# to _ string -> String (36718.0) -
標準的な文字列表現に変換します。
...標準的な文字列表現に変換します。
require 'ipaddr'
addr6 = IPAddr.new('::1')
addr6.to_s #=> "::1"
addr6.to_string #=> "0000:0000:0000:0000:0000:0000:0000:0001"
@see IPAddr#to_s...