18件ヒット
[1-18件を表示]
(0.081秒)
ライブラリ
- scanf (18)
クラス
- IO (2)
-
Scanf
:: FormatSpecifier (2) -
Scanf
:: FormatString (10) - String (2)
モジュール
- Kernel (2)
キーワード
-
last
_ match _ tried (1) -
last
_ spec (1) -
last
_ spec _ tried (1) - match (1)
-
matched
_ count (1) -
matched
_ string (1) - prune (1)
-
re
_ string (1) - space (1)
-
spec
_ count (1) -
string
_ left (1) -
to
_ s (1)
検索結果
先頭5件
-
String
# scanf(format) -> Array (105724.0) -
ブロックを指定しない場合、見つかった文字列を format に従って変 換し、そのオブジェクトの配列を返します。 format で指定した文字列が見つからない場合は空の配列を 生成して返します。
ブロックを指定しない場合、見つかった文字列を format に従って変
換し、そのオブジェクトの配列を返します。
format で指定した文字列が見つからない場合は空の配列を
生成して返します。
require 'scanf'
str = "123 abc 456 def 789 ghi"
p str.scanf("%d%s") #=> [123, "abc"]
ブロックを指定した場合は scanf を継続して実行し、順次
見つかった文字列を変換したオブジェクトの配列を引数に、ブロックを
実行します。このとき、ブロックの実行結果を要素とする配列を返します。
requir... -
String
# scanf(format) {|*ary| . . . } -> Array (105724.0) -
ブロックを指定しない場合、見つかった文字列を format に従って変 換し、そのオブジェクトの配列を返します。 format で指定した文字列が見つからない場合は空の配列を 生成して返します。
ブロックを指定しない場合、見つかった文字列を format に従って変
換し、そのオブジェクトの配列を返します。
format で指定した文字列が見つからない場合は空の配列を
生成して返します。
require 'scanf'
str = "123 abc 456 def 789 ghi"
p str.scanf("%d%s") #=> [123, "abc"]
ブロックを指定した場合は scanf を継続して実行し、順次
見つかった文字列を変換したオブジェクトの配列を引数に、ブロックを
実行します。このとき、ブロックの実行結果を要素とする配列を返します。
requir... -
Kernel
# scanf(format) -> Array (78526.0) -
STDIN.scanf と同じです。 IO#scanf、Stdin#scanfも参照してください。
STDIN.scanf と同じです。
IO#scanf、Stdin#scanfも参照してください。
@param format スキャンするフォーマットを文字列で指定します。
詳細は、m:String#scanf#format を参照してください。
@see IO#scanf, Stdin#scanf -
Kernel
# scanf(format) {|*ary| . . . } -> Array (78526.0) -
STDIN.scanf と同じです。 IO#scanf、Stdin#scanfも参照してください。
STDIN.scanf と同じです。
IO#scanf、Stdin#scanfも参照してください。
@param format スキャンするフォーマットを文字列で指定します。
詳細は、m:String#scanf#format を参照してください。
@see IO#scanf, Stdin#scanf -
IO
# scanf(format) -> Array (78442.0) -
String#scanfも参照してください。
String#scanfも参照してください。
@param format スキャンするフォーマットを文字列で指定します。
詳細は、m:String#scanf#format を参照してください。 -
IO
# scanf(format) {|*ary| . . . } -> Array (78442.0) -
String#scanfも参照してください。
String#scanfも参照してください。
@param format スキャンするフォーマットを文字列で指定します。
詳細は、m:String#scanf#format を参照してください。 -
Scanf
:: FormatString # string _ left (60307.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # matched _ string (51307.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # re _ string (51307.0) -
@todo
@todo -
Scanf
:: FormatString # last _ match _ tried (42004.0) -
@todo
@todo -
Scanf
:: FormatString # last _ spec (42004.0) -
@todo
@todo -
Scanf
:: FormatString # last _ spec _ tried (42004.0) -
@todo
@todo -
Scanf
:: FormatString # match(str) (42004.0) -
@todo
@todo -
Scanf
:: FormatString # matched _ count (42004.0) -
@todo
@todo -
Scanf
:: FormatString # prune(n=matched _ count) (42004.0) -
@todo
@todo -
Scanf
:: FormatString # space (42004.0) -
@todo
@todo -
Scanf
:: FormatString # spec _ count (42004.0) -
@todo
@todo -
Scanf
:: FormatString # to _ s (42004.0) -
@todo
@todo