るりまサーチ

最速Rubyリファレンスマニュアル検索!
33件ヒット [1-33件を表示] (0.021秒)
トップページ > クエリ:Symbol[x] > クエリ:EX[x] > 種類:文書[x]

別のキーワード

  1. symbol []
  2. symbol slice
  3. win32ole cp_symbol
  4. tracer event_symbol
  5. _builtin symbol

検索結果

正規表現 (3007.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)は文...
...字列中のどの場所であるかを知ることができます。

//emlist[][ruby]{
/pat/
%r{pat}
//}

などの正規表現リテラルや Regexp.new などで正規表現
オブジェクトを得ることができます。


===[a:metachar] メタ文字列とリテラル、メタ文字とエ...
...ます。例えば

//emlist[][ruby]{
/[a-z]/
/\Axyz\Z/
//}

という正規表現において "[a-z]", "\A", "\Z"はメタ文字列です。

===[a:expansion] 式展開
正規表現内では、#{式} という形式で式を評価した文字列を埋め込むことが
できます。

//emlist[][r...

Ruby用語集 (49.0)

Ruby用語集 A B C D E F G I J M N O R S Y

...し、切り替えて使うための
ツールの一つ。Linux、macOS などで動作する。

https://github.com/rbenv/rbenv

: RD(Ruby Document format)
Ruby スクリプト中に記述することを念頭に作られたドキュメントフォーマット。

: RDoc
Ruby スクリ...
...ント
: embedded document
ソースコード中の =begin 行から =end 行まで。コメントとみなされ実行されない。

その名の通り、この部分にコードのドキュメントを記述することが
期待されている。

参照:d:spec/lexical#embed

: エイ...
...ンタックスシュガーとして
用意されている。

構文糖衣、構文糖、糖衣構文とも呼ばれる。

: シンボル
: symbol
文字列と一対一に対応する、Ruby の処理系内部で整数により管理されるオブジェクト。

イミュータブルで...

Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (35.0)

Rubyで使われる記号の意味(正規表現の複雑な記号は除く) ex q num per and or  plus minus ast slash hat sq  period comma langl rangl eq tilde  dollar at under lbrarbra  lbra2rbra2 lbra3rbra3 dq colon ac  backslash semicolon

...現の複雑な記号は除く)
ex
 q num per and or 
plus minus ast slash hat sq 
period comma langl rangl eq tilde 
dollar at under lbrarbra 
lbra2rbra2 lbra3rbra3 dq colon ac 
backslash semicolon

===[a:ex] !

: !true

not 演算子。d:...
...正規表現の、量指定子(quantifiers)。直前の正規表現の 0 または 1 回の繰り返し。

===[a:num] #

: #コメント
d:spec/lexical#comment。# から行末までがコメントになります。

: xxx #=> 実行結果
: xxx # => 実行結果

慣用的に実行結果を示...
...c/rubycmd#shebangを参照。

: # coding: utf-8

マジックコメント。d:spec/m17n#magic_comment を参照。

: "a is #{a}"

d:spec/literal#exp
//emlist{
a = 10
p "a is #{a}" #=> "a is 10"
//}

: Range#each

説明文の中でのみ使われます。Ruby言語の要素ではありま...