るりまサーチ

最速Rubyリファレンスマニュアル検索!
99件ヒット [1-99件を表示] (0.079秒)
トップページ > クエリ:l[x] > クエリ:Cat[x] > クエリ:list[x]

別のキーワード

  1. matrix l
  2. kernel $-l
  3. _builtin $-l
  4. lupdecomposition l
  5. l matrix

検索結果

static NODE * literal_concat_list(NODE *head, NODE *tail) (44400.0)

static NODE * list_concat(NODE *head, NODE *tail) (38332.0)

NODE_LISTのリストheadにNODE_LISTのノードtailを連結し、 先頭ノードを返す。head、tailともにNULLであってはならない。

...NODE_LISTのリストheadにNODE_LISTのノードtailを連結し、
先頭ノードを返す。head、tailともにNULLであってはならない。...

Gem::Specification.list -> Array (27201.0)

実行中の Ruby のインスタンスで作成された Gem::Specification のインスタンスを返します。

...実行中の Ruby のインスタンスで作成された Gem::Specification のインスタンスを返します。...

Gem::DependencyList#find_name(full_name) -> Gem::Specification | nil (6200.0)

自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。

...身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。

見つからなかった場合は nil を返します。

@param full_name バージョンを含むフルネームで Gem の名前を指定します。

@see Gem::Specification#full_name...

Gem::DependencyList#remove_by_name(full_name) -> Gem::Specification (6200.0)

与えられた名前を持つ Gem::Specification を自身から削除します。

...名前を持つ Gem::Specification を自身から削除します。

このメソッドでは削除後の依存関係をチェックしません。

@param full_name バージョンを含むフルネームで Gem の名前を指定します。

@see Gem::Specification#full_name, Array#delete_if...

絞り込み条件を変える

Gem::DependencyList#dependency_order -> [Gem::Specification] (6100.0)

依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。

...依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。

このことは、インストール済みの Gem を削除するときに便利です。
このメソッドで返された順にインストール済みの Gem 削除すると、
依存...
...ます。

If there are circular dependencies (yuck!), then gems will be
returned in order until only the circular dependents and anything
they reference are left. Then arbitrary gemspecs will be returned
until the circular dependency is broken, after which gems will be
returned in dependency order...

正規表現 (52.0)

正規表現 * metachar * expansion * char * anychar * string * str * quantifier * capture * grouping * subexp * selector * anchor * cond * option * encoding * comment * free_format_mode * absenceop * list * specialvar * references

...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 などで正規表現
オブジェクトを得ることができます...
...か使えないことに注意してください。

//emlist[][ruby]{
# (..) に at がマッチしたのを \1 で参照し、マッチが成功している。
m = /[csh](..) [csh]\1 in/.match("The cat sat in the hat")
# => #<MatchData "cat sat in" 1:"at">
# Regexp#match でマッチしたテキ...

Rubyの起動 (30.0)

Rubyの起動 * cmd_option * shebang

...います。

ruby [ option ...] [ -- ] [ programfile ] [ argument ...]

ここで、option は後述のcmd_option
のいずれかを指定します。-- は、オプション列の終りを明示するため
に使用できます。programfile は、Ruby スクリプトを記述したファイ...
...度に読み
込むモード($/=nilと同じ)に設定できます。

: -a

`-n'や`-p'とともに用いて, オートスプリットモードをONにします。
オートスプリットモードでは各ループの先頭で,
//emlist{
$F = $_.split
//}
が実行されます。`-n'...
...だけが残ります。ただし platform/Win32 では省略出来ません
(38066 参照)。

例:

//emlist{
% echo matz > /tmp/junk
% cat /tmp/junk
matz
% ruby -p -i.bak -e '$_.upcase!' /tmp/junk
% cat /tmp/junk
MATZ
% cat /tmp/junk.bak
matz
//}

: -I direc...

debug (30.0)

Ruby デバッガです。Ruby スクリプトのソースコードデバッグに使用します。

...た、Emacs を使用したインタフェース rubydb3x.el
https://github.com/ruby/elisp にあるので、活用してください。

=== 使い方

$ ruby -rdebug foo.rb

または、Emacs から

M-x load-library rubydb3x.el
M-x rubydb

=== デバッグコマンド

以下は、...
...た場合は現在実行中のファイルを指定した
ものと見倣されます。

このコマンドの省略形は b です。

: catch <an Exception>
例外が発生した時にデバッガを停止させるキャッチポイントを設定します。
引数を省略した...
...は w または f です。

: list [(-|nn-mm)]
スクリプトを表示します。引数が `-' ならば前の行を表示します。
nn-mm の形式では指定した範囲の行のスクリプトを表示します。

このコマンドの省略形は l です。

: up [nn]
...