るりまサーチ

最速Rubyリファレンスマニュアル検索!
36件ヒット [1-36件を表示] (0.147秒)

別のキーワード

  1. string []=
  2. string slice
  3. string slice!
  4. string []
  5. openssl t61string

ライブラリ

クラス

検索結果

IPAddr#to_string -> String (27316.0)

標準的な文字列表現に変換します。

...標準的な文字列表現に変換します。

require 'ipaddr'
a
ddr6 = IPAddr.new('::1')
a
ddr6.to_s #=> "::1"
a
ddr6.to_string #=> "0000:0000:0000:0000:0000:0000:0000:0001"

@see IPAddr#to_s...

REXML::Attribute#to_string -> String (27316.0)

"name='value'" という形式の文字列を返します。

..."name='value'" という形式の文字列を返します。

//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attribute("r").to_string # => "ns:r='rval'"
//}...

IPAddr#to_s -> String (3126.0)

文字列に変換します。

...文字列に変換します。

require 'ipaddr'
a
ddr6 = IPAddr.new('::1')
a
ddr6.to_s #=> "::1"
a
ddr6.to_string #=> "0000:0000:0000:0000:0000:0000:0000:0001"

@see IPAddr#to_string...