529件ヒット
[1-100件を表示]
(0.117秒)
ライブラリ
- ビルトイン (294)
-
bigdecimal
/ math (11) - cmath (24)
- matrix (22)
- open3 (11)
- pathname (11)
- pty (11)
-
rexml
/ sax2listener (11) -
rinda
/ tuplespace (11) - rss (22)
-
win32
/ registry (33)
クラス
- Complex (33)
- File (11)
-
File
:: Stat (11) - Float (63)
-
Matrix
:: LUPDecomposition (11) - Numeric (33)
- Pathname (11)
-
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (22) -
Rinda
:: TupleEntry (11) -
RubyVM
:: InstructionSequence (22) - StopIteration (11)
- Vector (11)
モジュール
- BigMath (11)
- CMath (24)
- Kernel (22)
- Math (55)
- Open3 (11)
- PTY (11)
- Process (22)
-
REXML
:: SAX2Listener (11) -
Win32
:: Registry :: API (33)
キーワード
- CreateKey (11)
- Float (11)
- Marshal フォーマット (11)
- RegCreateKeyExA (11)
- SetValue (11)
- acos (11)
- angle (33)
-
angle
_ with (11) - arg (33)
- asin (11)
-
bigdecimal
/ math (11) - check (11)
- compile (22)
-
compile
_ error (11) - cos (11)
- cos! (6)
- date (11)
- date= (11)
- exp (6)
- expires (11)
- hash (11)
- new (11)
- phase (33)
- pipe? (33)
-
pipe
_ open (11) - pipeline (11)
- pivots (11)
- printf (22)
-
processing
_ instruction (11) -
rb
_ fork (1) -
rb
_ fork _ err (1) - result (11)
- round (19)
- sin (11)
- sin! (6)
- tan! (6)
- wait2 (11)
- waitpid2 (11)
- yycompile (11)
検索結果
先頭5件
-
Math
:: PI -> Float (21307.0) -
円周率
...円周率
//emlist[例][ruby]{
p Math::PI
# => 3.141592654
//}... -
BigMath
. # PI(prec) -> BigDecimal (21219.0) -
円周率を prec で指定した精度で計算します。
...下が指定された場合に発生します。
//emlist[][ruby]{
require "bigdecimal/math"
puts BigMath::PI(2) #=> 0.31415926535897932384671233672993238432e1
puts BigMath::PI(5) #=> 0.31415926535897932384627534923029509162e1
puts BigMath::PI(10) #=> 0.314159265358979323846264338881385378695741... -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # date (15100.0) -
@todo
@todo -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # date= (15100.0) -
@todo
@todo -
RubyVM
:: InstructionSequence . compile(source , file = nil , path = nil , line = 1 , options = nil) -> RubyVM :: InstructionSequence (12400.0) -
引数 source で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
...@param file ファイル名を文字列で指定します。
@param path 引数 file の絶対パスファイル名を文字列で指定します。
@param line 引数 source の 1 行目の行番号を指定します。
@param options コンパイル時のオプションを true、false、Hash......かで指定します。詳細は
RubyVM::InstructionSequence.compile_option= を参照
してください。
RubyVM::InstructionSequence.compile("a = 1 + 2")
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
@see RubyVM::InstructionSequence.compile_file... -
static NODE * compile(VALUE src
, char *file , int line) (12400.0) -
Ruby の文字列または IO オブジェクト src を 構文木にコンパイルし、返します。そのとき、src が ファイル file の line 行目から始まっていると仮定します。
...Ruby の文字列または IO オブジェクト src を
構文木にコンパイルし、返します。そのとき、src が
ファイル file の line 行目から始まっていると仮定します。... -
static void compile
_ error(const char *at) (12400.0) -
-
Open3
. # pipeline(*cmds) -> [Process :: Status] (12300.0) -
指定したコマンドのリストをパイプで繋いで順番に実行します。
...リストを指定します。それぞれのコマンドは
以下のように String か Array で指定します。
commandline にはコマンド全体(例. "nroff -man")を表す
String を指定します。
options には Hash で指定します......mmandline, options]
(4) [env, cmdname, arg1, arg2, ..., options]
(5) [env, [cmdname, argv0], arg1, ..., options]
@return 実行したコマンドの終了ステータスを配列で返します。
例1:
require "open3"
fname = "/usr/share/man/man1/ruby.1.gz"
p Open3.pipeline(["zcat", f......name], "nroff -man", "less")
#=> [#<Process::Status: pid 11817 exit 0>,
# #<Process::Status: pid 11820 exit 0>,
# #<Process::Status: pid 11828 exit 0>]
例2:
require "open3"
Open3.pipeline([{"LANG"=>"C"}, "env"], ["grep", "LANG"], "less")
@see Open3.#popen3... -
static NODE * yycompile(char *f
, int line) (12300.0) -
コンパイルを開始します。そのとき、 ファイル名 f の line 行目からを コンパイルするものと仮定します。
...コンパイルを開始します。そのとき、
ファイル名 f の line 行目からを
コンパイルするものと仮定します。... -
File
:: Stat # pipe? -> bool (12200.0) -
無名パイプおよび名前つきパイプ(FIFO)の時に真を返します。
...無名パイプおよび名前つきパイプ(FIFO)の時に真を返します。
//emlist[][ruby]{
system("mkfifo /tmp/pipetest")
p File::Stat.new("/tmp/pipetest").pipe? #=> true
//}...