1680件ヒット
[1-100件を表示]
(0.040秒)
別のキーワード
ライブラリ
- English (24)
- ビルトイン (657)
-
bigdecimal
/ math (12) - cmath (24)
- csv (12)
- erb (12)
- etc (36)
- matrix (24)
- mkmf (24)
-
net
/ http (24) - open3 (108)
- openssl (108)
- pathname (12)
- psych (120)
- pty (36)
- resolv (24)
-
rexml
/ sax2listener (36) -
rexml
/ streamlistener (12) -
rinda
/ tuplespace (24) - ripper (12)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - socket (96)
- stringio (12)
- syslog (60)
- timeout (21)
- win32ole (48)
クラス
-
CGI
:: Cookie (12) - CSV (12)
- Complex (48)
- ERB (12)
-
Etc
:: Passwd (12) - File (12)
-
File
:: Stat (12) - Float (69)
- IO (108)
-
Matrix
:: LUPDecomposition (12) - Numeric (48)
-
OpenSSL
:: PKCS7 (24) -
OpenSSL
:: PKCS7 :: RecipientInfo (48) - Pathname (12)
-
Process
:: Status (12) -
Psych
:: Handler (24) -
Psych
:: Nodes :: Mapping (96) -
RDoc
:: Options (12) - Regexp (24)
-
Resolv
:: DNS :: Resource :: SOA (24) -
Rinda
:: TupleEntry (24) - Ripper (12)
-
RubyVM
:: InstructionSequence (48) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Socket (48)
- StopIteration (12)
- String (24)
- StringIO (12)
- Symbol (12)
- Vector (12)
-
WEBrick
:: Cookie (12) - WIN32OLE (36)
-
WIN32OLE
_ METHOD (12)
モジュール
- BigMath (12)
- CMath (24)
- Etc (24)
- FileTest (12)
- Kernel (72)
- Math (60)
-
Net
:: HTTPHeader (24) - Open3 (108)
-
OpenSSL
:: OCSP (12) -
OpenSSL
:: X509 (24) - PTY (36)
- Process (132)
-
REXML
:: SAX2Listener (36) -
REXML
:: StreamListener (12) -
Socket
:: Constants (48) - Syslog (48)
-
Syslog
:: Option (12) - Timeout (21)
キーワード
-
$ PID (12) -
$ PROCESS _ ID (12) - ANY (12)
- BLOCK (12)
- FLOW (12)
-
LOG
_ PID (12) - Marshal フォーマット (12)
-
PC
_ PIPE _ BUF (12) -
PF
_ PIP (24) -
RESPID
_ KEY (12) -
SC
_ SPIN _ LOCKS (12) -
SO
_ NOSIGPIPE (24) -
TCP
_ KEEPIDLE (24) -
TCP
_ KEEPINTVL (24) -
V
_ ERR _ CERT _ HAS _ EXPIRED (12) -
V
_ ERR _ CRL _ HAS _ EXPIRED (12) -
_ getproperty (12) -
_ invoke (12) -
_ setproperty (12) - acos (12)
-
add
_ recipient (12) - anchor (12)
- angle (36)
-
angle
_ with (12) - arg (36)
- asin (12)
- bigdecimal (12)
- capitalize (24)
- capitalize! (12)
- check (12)
- compile (24)
-
compile
_ error (12) -
compile
_ file (12) -
compile
_ option (12) - cos (12)
- cos! (6)
- detach (12)
- dispid (12)
-
each
_ capitalized (12) -
each
_ capitalized _ name (12) -
enc
_ key (12) -
end
_ mapping (12) -
end
_ prefix _ mapping (12) - exp (6)
- expire (24)
- expired? (12)
- expires (36)
- getpgid (12)
- getpty (12)
- getsid (12)
- hash (12)
- implicit (12)
- instruction (12)
- issuer (12)
- kill (12)
- new (60)
- open (24)
- open! (12)
- phase (36)
- pid (60)
- pipe (108)
- pipe? (66)
- pipeline (12)
-
pipeline
_ r (24) -
pipeline
_ rw (24) -
pipeline
_ start (24) -
pipeline
_ w (24) - pivots (12)
- polar (24)
- ppid (12)
- printf (24)
-
processing
_ instruction (12) - recipients (12)
- reopen (12)
- result (12)
-
rexml
/ parsers / pullparser (12) -
rexml
/ parsers / ultralightparser (12) - round (21)
- serial (12)
-
set
_ eoutvar (12) - setpgid (12)
- sin (12)
- sin! (6)
- spawn (12)
-
start
_ mapping (12) -
start
_ prefix _ mapping (12) - style (12)
- tag (12)
- tan! (6)
- timeout (21)
-
try
_ compile (24) - wait (12)
- wait2 (12)
- waitpid (12)
- waitpid2 (12)
検索結果
先頭5件
-
BigMath
. # PI(prec) -> BigDecimal (18219.0) -
円周率を prec で指定した精度で計算します。
...された場合に発生します。
//emlist[][ruby]{
require "bigdecimal/math"
puts BigMath::PI(2) #=> 0.31415926535897932384671233672993238432e1
puts BigMath::PI(5) #=> 0.31415926535897932384627534923029509162e1
puts BigMath::PI(10) #=> 0.3141592653589793238462643388813853786957412e1
//}... -
Math
:: PI -> Float (18207.0) -
円周率
...円周率
//emlist[例][ruby]{
p Math::PI
# => 3.141592654
//}... -
OpenSSL
:: PKCS7 # add _ recipient(recipient) -> self (6300.0) -
送信者を追加します。
...送信者を追加します。
このメソッドは使わないでください。
このメソッドは PKCS#7 の低レベル API であり、正しく使うのは
難しいでしょう。
@param recipient 追加する送信者(OpenSSL::PKCS7::RecipientInfo)... -
OpenSSL
:: PKCS7 # recipients -> [OpenSSL :: PKCS7 :: RecipientInfo] (6300.0) -
メッセージの送信先の情報を配列で返します。
メッセージの送信先の情報を配列で返します。
これは暗号化した場合のみ意味があります。 -
Open3
. # pipeline _ r(*cmds) -> [IO , [Thread]] (6206.0) -
指定したコマンドのリストをパイプで繋いで順番に実行します。最後の コマンドの標準出力を受けとる事ができます。
...します。
例:
require "open3"
Open3.pipeline_r("yes", "head -10") {|r, ts|
p r.read #=> "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"
p ts[0].value #=> #<Process::Status: pid 24910 SIGPIPE (signal 13)>
p ts[1].value #=> #<Process::Status: pid 24913 exit 0>
}
@see Open3.#popen3... -
Open3
. # pipeline _ r(*cmds) {|last _ stdout , wait _ thrs| . . . } -> () (6206.0) -
指定したコマンドのリストをパイプで繋いで順番に実行します。最後の コマンドの標準出力を受けとる事ができます。
...します。
例:
require "open3"
Open3.pipeline_r("yes", "head -10") {|r, ts|
p r.read #=> "y\ny\ny\ny\ny\ny\ny\ny\ny\ny\n"
p ts[0].value #=> #<Process::Status: pid 24910 SIGPIPE (signal 13)>
p ts[1].value #=> #<Process::Status: pid 24913 exit 0>
}
@see Open3.#popen3... -
REXML
:: SAX2Listener # start _ prefix _ mapping(prefix , uri) -> () (6206.0) -
名前空間の接頭辞(prefix)が導入されたときに呼び出される コールバックメソッドです。
...<a xmlns:foo="http://foo.example.org/">
<foo:b />
</a>
すると
start_prefix_mapping("foo", "http://foo.example.org/")
start_element(nil, "a", "a", {"xmlns:foo" => "http://foo.example.org/"})
:
end_element(nil, "a", "a")
end_prefix_mapping("foo")
の順で呼びだされます......。つまり名前空間を導入した要素の start_element の前に
start_prefix_mapping が呼びだされます。
@param prefix 接頭辞の文字列が渡されます
@param uri 接頭辞に対応する URI 文字列が渡されます... -
RubyVM
:: InstructionSequence . compile _ file(file , options = nil) -> RubyVM :: InstructionSequence (6206.0) -
引数 file で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
...ードを元にコンパイル済みの
RubyVM::InstructionSequence オブジェクトを作成して返します。
RubyVM::InstructionSequence.compile とは異なり、file、path などの
メタデータは自動的に取得します。
@param file ファイル名を文字列で指定しま......yVM::InstructionSequence.compile_option= を参照
してください。
# /tmp/hello.rb
puts "Hello, world!"
# irb
RubyVM::InstructionSequence.compile_file("/tmp/hello.rb")
# => <RubyVM::InstructionSequence:<main>@/tmp/hello.rb>
@see RubyVM::InstructionSequence.compile... -
CGI
:: Cookie # expires -> Time (6200.0) -
クッキーの有効期限を返します。
クッキーの有効期限を返します。