ライブラリ
- ビルトイン (113)
-
irb
/ context (22) -
irb
/ extend-command (11) - matrix (22)
- openssl (11)
-
rdoc
/ context (33) -
rdoc
/ markdown (22) -
rexml
/ document (132) -
rexml
/ parsers / pullparser (11) -
ripper
/ lexer (22)
クラス
-
ARGF
. class (9) - IO (11)
-
IRB
:: Context (22) - Matrix (22)
-
OpenSSL
:: SSL :: SSLContext (11) -
RDoc
:: Context (33) -
RDoc
:: Markdown (22) -
REXML
:: AttlistDecl (11) -
REXML
:: Attribute (11) -
REXML
:: Comment (11) -
REXML
:: DocType (22) -
REXML
:: Document (11) -
REXML
:: Element (33) -
REXML
:: Instruction (11) -
REXML
:: Parsers :: PullEvent (11) -
REXML
:: Text (11) -
REXML
:: XMLDecl (11) - Regexp (11)
-
Ripper
:: Lexer (22) - String (30)
- Symbol (52)
モジュール
キーワード
- =~ (11)
- [] (11)
- context (22)
- context= (11)
-
each
_ with _ index (22) -
event
_ type (11) - extension (11)
- extension? (11)
-
find
_ local _ symbol (11) -
find
_ symbol (11) -
install
_ alias _ method (11) - lex (11)
- match (22)
- match? (16)
- next (11)
-
node
_ type (99) - parse (11)
-
prompt
_ mode (11) -
prompt
_ mode= (11) -
read
_ nonblock (20) -
session
_ cache _ stats (11) - slice (11)
- succ (11)
- visibility (11)
検索結果
先頭5件
-
Symbol
# next -> Symbol (27203.0) -
シンボルに対応する文字列の「次の」文字列に対応するシンボルを返します。
...シンボルに対応する文字列の「次の」文字列に対応するシンボルを返します。
(self.to_s.next.intern と同じです。)
:a.next # => :b
:foo.next # => :fop
@see String#succ... -
Symbol
# succ -> Symbol (24103.0) -
シンボルに対応する文字列の「次の」文字列に対応するシンボルを返します。
...シンボルに対応する文字列の「次の」文字列に対応するシンボルを返します。
(self.to_s.next.intern と同じです。)
:a.next # => :b
:foo.next # => :fop
@see String#succ... -
Symbol
# [](regexp , nth = 0) -> String | nil (21101.0) -
正規表現 regexp の nth 番目の括弧にマッチする最初の部分文字列を返します。
...正規表現 regexp の nth 番目の括弧にマッチする最初の部分文字列を返します。
(self.to_s[regexp, nth] と同じです。)
@param regexp 正規表現を指定します。
@param nth 取得したい正規表現レジスタのインデックスを指定します。
:foo... -
Symbol
# match?(regexp , pos = 0) -> bool (21101.0) -
regexp.match?(self, pos) と同じです。 regexp が文字列の場合は、正規表現にコンパイルします。 詳しくは Regexp#match? を参照してください。
...regexp.match?(self, pos) と同じです。
regexp が文字列の場合は、正規表現にコンパイルします。
詳しくは Regexp#match? を参照してください。
例:
:Ruby.match?(/R.../) # => true
:Ruby.match?('Ruby') # => true
:Ruby.match?('Ruby',1) # => false
:R......uby.match?('uby',1) # => true
:Ruby.match?(/P.../) # => false
$& # => nil
@see Regexp#match?, String#match?... -
Symbol
# slice(regexp , nth = 0) -> String | nil (21101.0) -
正規表現 regexp の nth 番目の括弧にマッチする最初の部分文字列を返します。
...正規表現 regexp の nth 番目の括弧にマッチする最初の部分文字列を返します。
(self.to_s[regexp, nth] と同じです。)
@param regexp 正規表現を指定します。
@param nth 取得したい正規表現レジスタのインデックスを指定します。
:foo... -
Ripper
:: Lexer # lex -> [[Integer , Integer] , Symbol , String , Ripper :: Lexer :: State] (9302.0) -
自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。
...自身の持つ Ruby プログラムをトークンに分割し、そのリストを返します。
ライブラリ内部で使用します。 Ripper.lex を使用してください。... -
RDoc
:: Context # find _ symbol(symbol , method=nil) (9235.0) -
Look up the given symbol. If method is non-nil, then we assume the symbol references a module that contains that method
...Look up the given symbol. If method is non-nil, then we assume
the symbol references a module that contains that method... -
RDoc
:: Context # find _ local _ symbol(symbol) (9219.0) -
Finds a method, constant, attribute, module or files named +symbol+ in this context
...Finds a method, constant, attribute, module or files named +symbol+ in
this context... -
REXML
:: Element # context -> {Symbol => object} | nil (9208.0) -
要素の「コンテキスト」を Hash で返します。
...の「コンテキスト」を Hash で返します。
コンテキストとは text node (REXML::Text) での特別な文字、特に空白について
の取り扱いについての設定です。
以下の Symbol をハッシュのキーとして使います。
: :respect_whitespace
空白を......また、すべての要素で空白を考慮して欲しい場合には
:all を指定します。
デフォルト値は :all です。
REXML::Element#whitespace も参照してください。
: :compress_whitespace
空白を無視して欲しい要素の名前の集合を文字列の配......ct_whitespace での指定を上書きします。
すべての要素で空白を無視して欲しい場合には
:all を指定します。
REXML::Element#whitespace も参照してください。
: :ignore_whitespace_nodes
空白のみからなるノードを無視して欲しい要素の... -
REXML
:: DocType # context -> { Symbol => object } (9202.0) -
DTD が属する文書の「コンテキスト」を返します。
...DTD が属する文書の「コンテキスト」を返します。
具体的には親ノードである REXML::Document オブジェクトの
REXML::Element#context を返します。
コンテキストの具体的な内容については REXML::Element#context を
参照してください。...