種類
- インスタンスメソッド (21)
- 文書 (4)
- クラス (1)
- 定数 (1)
ライブラリ
-
rubygems
/ format (2) -
rubygems
/ old _ format (2) -
rubygems
/ specification (1) - scanf (18)
クラス
-
Gem
:: Format (2) -
Gem
:: OldFormat (2) -
Gem
:: Specification (1) -
Scanf
:: FormatSpecifier (11) -
Scanf
:: FormatString (4) - String (2)
キーワード
- FormatSpecifier (1)
- Ruby用語集 (1)
- SPECIFIERS (1)
- conversion (1)
-
count
_ space? (1) -
last
_ spec (1) -
last
_ spec _ tried (1) - letter (1)
- match (1)
- matched (1)
-
matched
_ string (1) -
mid
_ match? (1) -
re
_ string (1) - requirements= (1)
-
ruby 1
. 8 . 4 feature (1) - scanf (2)
- spec= (2)
-
spec
_ count (1) -
to
_ re (1) -
to
_ s (1) - width (1)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (1)
- 正規表現 (1)
検索結果
先頭5件
-
Gem
:: Format # spec -> Gem :: Specification (63604.0) -
Gem の Gem::Specification を返します。
Gem の Gem::Specification を返します。 -
Gem
:: OldFormat # spec -> Gem :: Specification (63604.0) -
Gem の Gem::Specification を返します。
Gem の Gem::Specification を返します。 -
Scanf
:: FormatSpecifier (36001.0) -
-
Gem
:: Format # spec=(spec) (27625.0) -
Gem の Gem::Specification をセットします。
Gem の Gem::Specification をセットします。
@param spec Gem の Gem::Specification をセットします。 -
Gem
:: OldFormat # spec=(spec) (27625.0) -
Gem の Gem::Specification をセットします。
Gem の Gem::Specification をセットします。
@param spec Gem の Gem::Specification をセットします。 -
Scanf
:: FormatString # last _ spec (27304.0) -
@todo
@todo -
Scanf
:: FormatString # last _ spec _ tried (27304.0) -
@todo
@todo -
Scanf
:: FormatString # spec _ count (27304.0) -
@todo
@todo -
Scanf
:: FormatString :: SPECIFIERS (27301.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # conversion (18001.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # count _ space? (18001.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # letter (18001.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # match(str) (18001.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # matched (18001.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # matched _ string (18001.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # mid _ match? (18001.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # re _ string (18001.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # to _ re (18001.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # to _ s (18001.0) -
@todo
@todo -
Scanf
:: FormatSpecifier # width (18001.0) -
@todo
@todo -
Gem
:: Specification # requirements=(informations) (9301.0) -
この Gem パッケージを動作させるのに必要な条件をセットします。 これはユーザのためのシンプルな情報をセットします。
この Gem パッケージを動作させるのに必要な条件をセットします。
これはユーザのためのシンプルな情報をセットします。
@param informations 情報を文字列の配列で指定します。 -
正規表現 (9157.0)
-
正規表現 * metachar * expansion * char * anychar * string * str * quantifier * capture * grouping * subexp * selector * anchor * cond * option * encoding * comment * free_format_mode * absenceop * list * specialvar * references
正規表現
* metachar
* expansion
* char
* anychar
* string
* str
* quantifier
* capture
* grouping
* subexp
* selector
* anchor
* cond
* option
* encoding
* comment
* free_format_mode
* absenceop
* list
* specialvar
* references
正規表現(regular expression)は文字列のパタ... -
Ruby用語集 (541.0)
-
Ruby用語集 A B C D E F G I J M N O R S Y
Ruby用語集
A B C D E F G I J M N O R S Y
a ka sa ta na ha ma ya ra wa
=== 記号・数字
: %記法
: % notation
「%」記号で始まる多種多様なリテラル記法の総称。
参照:d:spec/literal#percent
: 0 オリジン
: zero-based
番号が 0 から始まること。
例えば、
Array や Vector、Matrix などの要素の番号、
String における文字の位置、
といったものは 0 オリジンである。
: 1 オリジン
: one-based
... -
String
# scanf(format) -> Array (493.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 (493.0) -
ブロックを指定しない場合、見つかった文字列を format に従って変 換し、そのオブジェクトの配列を返します。 format で指定した文字列が見つからない場合は空の配列を 生成して返します。
ブロックを指定しない場合、見つかった文字列を format に従って変
換し、そのオブジェクトの配列を返します。
format で指定した文字列が見つからない場合は空の配列を
生成して返します。
require 'scanf'
str = "123 abc 456 def 789 ghi"
p str.scanf("%d%s") #=> [123, "abc"]
ブロックを指定した場合は scanf を継続して実行し、順次
見つかった文字列を変換したオブジェクトの配列を引数に、ブロックを
実行します。このとき、ブロックの実行結果を要素とする配列を返します。
requir... -
オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (415.0)
-
オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル * Ruby オフィシャルサイト https://www.ruby-lang.org/ja/ * version 2.6 対応リファレンス * 原著:まつもとゆきひろ * 最新版URL: https://www.ruby-lang.org/ja/documentation/
オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.6 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃っています。
標準添付ライブラリのリファレンスは一部未完成です。
それ以外のドキュメントについては、まだまだ書き直しが必要です。
=== 目次
* spec/intro
* spe... -
ruby 1
. 8 . 4 feature (55.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
ruby 1.8.4 feature
ruby 1.8.4 での ruby 1.8.3 からの変更点です。
掲載方針
*バグ修正の影響も含めて動作が変わるものを収録する。
*単にバグを直しただけのものは収録しない。
*ライブラリへの単なる定数の追加は収録しない。
以下は各変更点に付けるべきタグです。
記号について(特に重要なものは大文字(主観))
# * カテゴリ
# * [ruby]: ruby インタプリタの変更
# * [api]: 拡張ライブラリ API
# * [lib]: ライブラリ
* レベル
* [bug]: バグ修正
* [new]: 追加され...