2478件ヒット
[101-200件を表示]
(0.083秒)
種類
- モジュール関数 (1042)
- インスタンスメソッド (836)
- 変数 (600)
ライブラリ
キーワード
-
$ ! (12) -
$ & (12) -
$ & # 39; (12) -
$ -F (12) -
$ -I (6) -
$ -p (12) -
$ 1 (12) -
$ 10 (12) -
$ 11 (12) -
$ 2 (12) -
$ 3 (12) -
$ 4 (12) -
$ 5 (12) -
$ 6 (12) -
$ 7 (12) -
$ 8 (12) -
$ 9 (12) -
$ : (6) -
$ ; (12) -
$ > (12) -
$ ? (12) -
$ ARGV (12) -
$ CHILD _ STATUS (12) -
$ DEFAULT _ INPUT (12) -
$ DEFAULT _ OUTPUT (12) -
$ ERROR _ INFO (12) -
$ ERROR _ POSITION (12) -
$ FIELD _ SEPARATOR (12) -
$ FS (12) -
$ INPUT _ LINE _ NUMBER (12) -
$ INPUT _ RECORD _ SEPARATOR (12) -
$ LAST _ MATCH _ INFO (12) -
$ LAST _ PAREN _ MATCH (12) -
$ LAST _ READ _ LINE (12) -
$ LOAD _ PATH (12) -
$ MATCH (12) -
$ NR (12) -
$ OFS (12) -
$ OUTPUT _ FIELD _ SEPARATOR (12) -
$ OUTPUT _ RECORD _ SEPARATOR (12) -
$ PID (12) -
$ POSTMATCH (12) -
$ PREMATCH (12) -
$ PROCESS _ ID (12) -
$ PROGRAM _ NAME (12) -
$ RS (12) -
$ ` (12) -
$ stdin (12) -
$ stdout (12) -
$ topdir (12) -
$ ~ (12) - Array (12)
- BigDecimal (14)
- Complex (24)
- DelegateClass (12)
- Digest (12)
- Float (12)
- Integer (12)
- JSON (12)
- Pathname (12)
- Rational (7)
- String (12)
-
_ _ callee _ _ (12) -
_ _ method _ _ (12) -
at
_ exit (12) - autoload (12)
- autoload? (12)
- binding (12)
- caller (36)
-
caller
_ locations (24) - catch (24)
-
cc
_ command (12) -
check
_ signedness (24) -
check
_ sizeof (24) - chomp (12)
- chop (12)
-
convertible
_ int (24) - cp (12)
-
cpp
_ command (12) -
create
_ makefile (12) -
create
_ tmpsrc (12) -
depend
_ rules (12) - desc (12)
-
egrep
_ cpp (24) - eval (24)
- exec (48)
- fail (36)
-
find
_ executable (12) -
find
_ header (12) -
find
_ library (24) -
find
_ type (24) - format (12)
- gets (12)
-
global
_ variables (12) - gsub (36)
-
have
_ header (24) -
have
_ macro (24) -
have
_ struct _ member (24) -
have
_ type (24) - help (12)
- httpd (12)
- install (12)
-
install
_ files (12) - j (12)
- lambda (18)
- libpathflag (12)
-
link
_ command (12) - load (12)
-
local
_ variables (12) - loop (24)
- mkdir (12)
- namespace (12)
- open (40)
- p (12)
- pp (12)
- print (12)
- printf (24)
- proc (19)
- putc (12)
- puts (12)
- raise (36)
- readline (12)
- readlines (12)
- require (12)
-
require
_ relative (12) - rmdir (12)
- select (12)
-
set
_ trace _ func (12) - sleep (24)
- spawn (48)
- sprintf (12)
- srand (24)
- sub (24)
- system (48)
- test (24)
- timeout (8)
-
trace
_ var (36) - trap (24)
-
try
_ compile (24) -
try
_ constant (24) -
try
_ cpp (24) -
try
_ do (24) -
try
_ link (24) -
try
_ run (24) -
try
_ static _ assert (24) -
try
_ type (24) -
untrace
_ var (12) - warn (8)
-
with
_ werror (24) - xmp (12)
- xpopen (24)
- xsystem (12)
- y (12)
検索結果
先頭5件
-
Kernel
# depend _ rules(depend) -> Array (27201.0) -
ファイルの依存関係の書かれた depend ファイルの内容を処理します。
...ファイルの依存関係の書かれた depend ファイルの内容を処理します。
@param depend depend ファイルの内容を指定します。
@return 見つかった依存関係を Makefile 形式で返します。... -
Kernel
# have _ type(type , headers = nil , opt = "") -> bool (27201.0) -
静的な型 type がシステムに存在するかどうか検査します。
...静的な型 type がシステムに存在するかどうか検査します。
型 type がシステムに存在する場合は、グローバル変数 $defs に
"-DHAVE_type" を追加し、真を返します。型 type がシステムに存在しない場
合は、偽を返します。
例え......ire 'mkmf'
have_type('foo') # => true
である場合、HAVE_TYPE_FOO をというプリプロセッサマクロをコンパイラに渡します。
@param type 検査したい型の名前を指定します。
@param headers 追加のヘッダを指定します。
@param opt コンパイラに... -
Kernel
# have _ type(type , headers = nil , opt = "") { . . . } -> bool (27201.0) -
静的な型 type がシステムに存在するかどうか検査します。
...静的な型 type がシステムに存在するかどうか検査します。
型 type がシステムに存在する場合は、グローバル変数 $defs に
"-DHAVE_type" を追加し、真を返します。型 type がシステムに存在しない場
合は、偽を返します。
例え......ire 'mkmf'
have_type('foo') # => true
である場合、HAVE_TYPE_FOO をというプリプロセッサマクロをコンパイラに渡します。
@param type 検査したい型の名前を指定します。
@param headers 追加のヘッダを指定します。
@param opt コンパイラに... -
Kernel
# namespace(name = nil) { . . . } -> Rake :: NameSpace (27201.0) -
新しい名前空間を作成します。
...新しい名前空間を作成します。
与えられたブロックを評価する間は、その名前空間を使用します。
例:
ns = namespace "nested" do
task :run
end
task_run = ns[:run] # find :run in the given namespace.
@see Rake::TaskManager#in_namespace... -
Kernel
. # Complex(r , i = 0) -> Complex (27201.0) -
実部が r、虚部が i である Complex クラスのオブジェクトを生成します。
...実部が r、虚部が i である Complex クラスのオブジェクトを生成します。
@param r 生成する複素数の実部。
@param i 生成する複素数の虚部。省略した場合は 0 です。
@param s 生成する複素数を表す文字列。
@raise ArgumentError 変換......生します。
//emlist[例][ruby]{
Complex(1) # => (1+0i)
Complex(1, 2) # => (1+2i)
Complex('1+1i') # => (1+1i)
Complex('1+1j') # => (1+1i)
# Complex.polar(10, 10) と同一。
Complex('10@10') # => (-8.390715290764524-5.440211108893697i)
Complex('_') # => ArgumentError
//}
r に......Complex(a, b) を a+bi として計算した Complex オブジェクトを返しま
す。
//emlist[例][ruby]{
Complex('1+1i', '2+3i') # => (-2+3i)
Complex('1+1i') + Complex('2+3i') * Complex('i') # => (-2+3i)
//}
@see Complex.rect、Complex.rectangular
[注意] Complex... -
Kernel
. # Complex(r , i = 0 , exception: true) -> Complex | nil (27201.0) -
実部が r、虚部が i である Complex クラスのオブジェクトを生成します。
...、虚部が i である Complex クラスのオブジェクトを生成します。
@param r 生成する複素数の実部。
@param i 生成する複素数の虚部。省略した場合は 0 です。
@param s 生成する複素数を表す文字列。
@param exception false を指定する......生します。
//emlist[例][ruby]{
Complex(1) # => (1+0i)
Complex(1, 2) # => (1+2i)
Complex('1+1i') # => (1+1i)
Complex('1+1j') # => (1+1i)
# Complex.polar(10, 10) と同一。
Complex('10@10') # => (-8.390715290764524-5.440211108893697i)
Complex('_') # => ArgumentError
//}
r に......Complex(a, b) を a+bi として計算した Complex オブジェクトを返しま
す。
//emlist[例][ruby]{
Complex('1+1i', '2+3i') # => (-2+3i)
Complex('1+1i') + Complex('2+3i') * Complex('i') # => (-2+3i)
//}
@see Complex.rect、Complex.rectangular
[注意] Complex... -
Kernel
. # Complex(s) -> Complex (27201.0) -
実部が r、虚部が i である Complex クラスのオブジェクトを生成します。
...実部が r、虚部が i である Complex クラスのオブジェクトを生成します。
@param r 生成する複素数の実部。
@param i 生成する複素数の虚部。省略した場合は 0 です。
@param s 生成する複素数を表す文字列。
@raise ArgumentError 変換......生します。
//emlist[例][ruby]{
Complex(1) # => (1+0i)
Complex(1, 2) # => (1+2i)
Complex('1+1i') # => (1+1i)
Complex('1+1j') # => (1+1i)
# Complex.polar(10, 10) と同一。
Complex('10@10') # => (-8.390715290764524-5.440211108893697i)
Complex('_') # => ArgumentError
//}
r に......Complex(a, b) を a+bi として計算した Complex オブジェクトを返しま
す。
//emlist[例][ruby]{
Complex('1+1i', '2+3i') # => (-2+3i)
Complex('1+1i') + Complex('2+3i') * Complex('i') # => (-2+3i)
//}
@see Complex.rect、Complex.rectangular
[注意] Complex... -
Kernel
. # Complex(s , exception: true) -> Complex | nil (27201.0) -
実部が r、虚部が i である Complex クラスのオブジェクトを生成します。
...、虚部が i である Complex クラスのオブジェクトを生成します。
@param r 生成する複素数の実部。
@param i 生成する複素数の虚部。省略した場合は 0 です。
@param s 生成する複素数を表す文字列。
@param exception false を指定する......生します。
//emlist[例][ruby]{
Complex(1) # => (1+0i)
Complex(1, 2) # => (1+2i)
Complex('1+1i') # => (1+1i)
Complex('1+1j') # => (1+1i)
# Complex.polar(10, 10) と同一。
Complex('10@10') # => (-8.390715290764524-5.440211108893697i)
Complex('_') # => ArgumentError
//}
r に......Complex(a, b) を a+bi として計算した Complex オブジェクトを返しま
す。
//emlist[例][ruby]{
Complex('1+1i', '2+3i') # => (-2+3i)
Complex('1+1i') + Complex('2+3i') * Complex('i') # => (-2+3i)
//}
@see Complex.rect、Complex.rectangular
[注意] Complex... -
Kernel
. # open(file , mode _ enc = "r" , perm = 0666) -> IO (27201.0) -
file をオープンして、IO(Fileを含む)クラスのインスタンスを返します。
...である時、open は Ruby の子プロセス
を生成し、その子プロセスとの間のパイプ(IOオブジェクト)を返し
ます。(このときの動作は、IO.popen と同じです。
File.open にはパイプラインを生成する機能はありません)。
Perlと異なり......ます。
@param file ファイルを文字列で指定します。整数を指定した場合はファイルディスクリプタとして扱います。
@param mode_enc モード・エンコーディングを文字列か定数の論理和で指定します。後述。
@param perm open(2) の第 3......ョンを整数で指定します。
@raise Errno::EXXX ファイルのオープンに失敗した場合に発生します。
@see File.open,IO.popen,IO.open
=== 第二引数のオープンモード・エンコーディング
文字列("mode" か "mode:ext_enc" か "mode:ext_enc:int_enc" とい... -
Kernel
. # open(file , mode _ enc = "r" , perm = 0666) {|io| . . . } -> object (27201.0) -
file をオープンして、IO(Fileを含む)クラスのインスタンスを返します。
...である時、open は Ruby の子プロセス
を生成し、その子プロセスとの間のパイプ(IOオブジェクト)を返し
ます。(このときの動作は、IO.popen と同じです。
File.open にはパイプラインを生成する機能はありません)。
Perlと異なり......ます。
@param file ファイルを文字列で指定します。整数を指定した場合はファイルディスクリプタとして扱います。
@param mode_enc モード・エンコーディングを文字列か定数の論理和で指定します。後述。
@param perm open(2) の第 3......ョンを整数で指定します。
@raise Errno::EXXX ファイルのオープンに失敗した場合に発生します。
@see File.open,IO.popen,IO.open
=== 第二引数のオープンモード・エンコーディング
文字列("mode" か "mode:ext_enc" か "mode:ext_enc:int_enc" とい... -
Kernel
. # spawn(env , program , *args , options={}) -> Integer (27133.0) -
引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
...す。
//emlist[例][ruby]{
# FOO を BAR にして BAZ を削除する
pid = spawn({"FOO"=>"BAR", "BAZ"=>nil}, command)
//}
親プロセスは Process.#waitpid で子プロセスの終了を待ち合わせるか
もしくは Process.#detach で子プロセスを切り離すかしてください。......残る場合があります。
=== 引数の解釈
この形式で呼び出した場合、空白や shell のメタキャラクタも
そのまま program の引数に渡されます。
先頭の引数が2要素の配列であった場合、第1要素の文字列が実際に
起動するプログ......け」のプロ
グラム名になります。
また、第1要素はフルパスで指定しなくても環境変数 PATH から探します。
=== option引数の概要
Hash を options として渡すことで、起動される子プロセスの
* プロセスグループ
* resource limit...