別のキーワード
ライブラリ
- ビルトイン (523)
-
cgi
/ core (72) -
cgi
/ session (36) -
cgi
/ session / pstore (12) - csv (276)
- json (72)
-
json
/ add / exception (24) -
json
/ add / rational (24) -
net
/ imap (24) - open-uri (24)
- open3 (72)
- openssl (60)
- optparse (72)
- psych (19)
-
rdoc
/ context (12) -
rdoc
/ top _ level (12) -
rexml
/ document (12) - rubygems (12)
-
rubygems
/ command (24) -
rubygems
/ dependency _ installer (12) -
rubygems
/ security (12) -
rubygems
/ specification (24)
クラス
- Array (13)
- CGI (24)
-
CGI
:: Session :: FileStore (12) -
CGI
:: Session :: MemoryStore (12) -
CGI
:: Session :: NullStore (12) -
CGI
:: Session :: PStore (12) - CSV (252)
-
CSV
:: Table (24) -
Encoding
:: Converter (48) - Exception (24)
-
Gem
:: Command (24) -
Gem
:: DependencyInstaller (12) -
Gem
:: Specification (24) - IO (168)
-
JSON
:: Parser (12) -
JSON
:: State (24) -
Net
:: IMAP (24) -
OpenSSL
:: X509 :: Extension (12) -
OpenSSL
:: X509 :: ExtensionFactory (36) - OptionParser (48)
-
RDoc
:: Context (12) -
RDoc
:: Options (12) -
RDoc
:: TopLevel (12) -
REXML
:: Document (12) - Rational (36)
-
RubyVM
:: InstructionSequence (72) - String (36)
モジュール
-
CGI
:: QueryExtension (48) - GC (6)
-
Gem
:: QuickLoader (12) -
Gem
:: Security (12) - JSON (36)
- Kernel (144)
- Marshal (24)
- Open3 (72)
- OpenURI (24)
-
OptionParser
:: Arguable (12) - Psych (19)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
DEFAULT
_ OPTIONS (24) - ExtensionFactory (12)
- GemVersions (12)
-
MARSHAL
_ FIELDS (12) -
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) - OptionParser (12)
-
SPECIFICATION
_ VERSION _ HISTORY (12) - [] (12)
-
add
_ class _ or _ module (24) -
build
_ self _ signed _ cert (12) -
cgi
/ session (12) - compile (12)
-
compile
_ file (12) -
compile
_ option (12) -
compile
_ option= (12) -
create
_ ext _ from _ hash (12) -
create
_ extension (24) - dump (24)
- encode (36)
- exec (48)
- files (12)
- filter (36)
- foreach (24)
-
from
_ state (12) - generate (12)
-
generate
_ line (12) - getopts (60)
- header (12)
- instance (24)
- intersection (6)
-
irb
/ completion (12) -
json
_ create (24) - new (72)
- open (48)
-
open
_ uri (24) - out (12)
- params (12)
- params= (12)
- parse (24)
-
parse
_ line (12) -
pipeline
_ r (24) -
pipeline
_ rw (24) -
pipeline
_ w (24) - popen (168)
-
pretty
_ generate (12) -
pretty
_ unparse (12) -
primitive
_ convert (48) - read (12)
- readlines (12)
- restore (48)
- rss (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
safe
_ load (19) -
show
_ hash (12) - spawn (48)
- starttls (12)
- system (48)
- table (12)
-
to
_ a (12) -
to
_ csv (12) -
to
_ h (12) -
to
_ json (24) -
to
_ s (12) - union (7)
-
verify
_ compaction _ references (6) - yaml (12)
検索結果
先頭5件
- Rational
# hash -> Integer - Gem
:: Specification :: SPECIFICATION _ VERSION _ HISTORY -> Hash - IO
. popen([env = {} , [cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) -> IO - IO
. popen([env = {} , cmdname , *args , execopt={}] , mode = "r" , opt={}) -> IO - IO
. popen(env = {} , [[cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) -> IO
-
Rational
# hash -> Integer (21107.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
@return ハッシュ値を返します。
@see Object#hash... -
Gem
:: Specification :: SPECIFICATION _ VERSION _ HISTORY -> Hash (15301.0) -
gemspec ファイルのバージョンの歴史を表す定数です。
gemspec ファイルのバージョンの歴史を表す定数です。 -
IO
. popen([env = {} , [cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) -> IO (9316.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2......生成した IO オブジェクトを引数にブ
ロックを実行し、ブロックの実行結果を返します。ブロックの実行後、生成したパイ
プは自動的にクローズされます。
p IO.popen("cat", "r+") {|io|
io.puts "foo"
io.close_write
io.gets
}
#......ls_io|
ls_result_with_error = ls_io.read
}
# 上と同じ、配列の外側でもオプションが指定できる
IO.popen(["ls", "/"], :err=>[:child, :out]) {|ls_io|
ls_result_with_error = ls_io.read
}
@param env 環境変数を { 変数名 => 内容 } という形式の Hash... -
IO
. popen([env = {} , cmdname , *args , execopt={}] , mode = "r" , opt={}) -> IO (9316.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2......生成した IO オブジェクトを引数にブ
ロックを実行し、ブロックの実行結果を返します。ブロックの実行後、生成したパイ
プは自動的にクローズされます。
p IO.popen("cat", "r+") {|io|
io.puts "foo"
io.close_write
io.gets
}
#......ls_io|
ls_result_with_error = ls_io.read
}
# 上と同じ、配列の外側でもオプションが指定できる
IO.popen(["ls", "/"], :err=>[:child, :out]) {|ls_io|
ls_result_with_error = ls_io.read
}
@param env 環境変数を { 変数名 => 内容 } という形式の Hash... -
IO
. popen(env = {} , [[cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) -> IO (9316.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2......生成した IO オブジェクトを引数にブ
ロックを実行し、ブロックの実行結果を返します。ブロックの実行後、生成したパイ
プは自動的にクローズされます。
p IO.popen("cat", "r+") {|io|
io.puts "foo"
io.close_write
io.gets
}
#......ls_io|
ls_result_with_error = ls_io.read
}
# 上と同じ、配列の外側でもオプションが指定できる
IO.popen(["ls", "/"], :err=>[:child, :out]) {|ls_io|
ls_result_with_error = ls_io.read
}
@param env 環境変数を { 変数名 => 内容 } という形式の Hash... -
IO
. popen(env = {} , [cmdname , *args , execopt={}] , mode = "r" , opt={}) -> IO (9316.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2......生成した IO オブジェクトを引数にブ
ロックを実行し、ブロックの実行結果を返します。ブロックの実行後、生成したパイ
プは自動的にクローズされます。
p IO.popen("cat", "r+") {|io|
io.puts "foo"
io.close_write
io.gets
}
#......ls_io|
ls_result_with_error = ls_io.read
}
# 上と同じ、配列の外側でもオプションが指定できる
IO.popen(["ls", "/"], :err=>[:child, :out]) {|ls_io|
ls_result_with_error = ls_io.read
}
@param env 環境変数を { 変数名 => 内容 } という形式の Hash... -
IO
. popen(env = {} , command , mode = "r" , opt={}) -> IO (9316.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2......生成した IO オブジェクトを引数にブ
ロックを実行し、ブロックの実行結果を返します。ブロックの実行後、生成したパイ
プは自動的にクローズされます。
p IO.popen("cat", "r+") {|io|
io.puts "foo"
io.close_write
io.gets
}
#......ls_io|
ls_result_with_error = ls_io.read
}
# 上と同じ、配列の外側でもオプションが指定できる
IO.popen(["ls", "/"], :err=>[:child, :out]) {|ls_io|
ls_result_with_error = ls_io.read
}
@param env 環境変数を { 変数名 => 内容 } という形式の Hash... -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ hash(hash) -> OpenSSL :: X509 :: Extension (9308.0) -
ハッシュから OpenSSL::X509::Extension オブジェクトを生成します。
...tension オブジェクトを生成します。
渡すハッシュテーブルは
{"oid" => OID文字列, "value" => value文字列, "critical" => 真偽値 }
という内容が必要です。"critical" を省略した場合は false が
渡されるのと同じになります。
@param hash......生成する拡張領域のデータのハッシュテーブル
@see OpenSSL::X509::ExtensionFactory#create_ext... -
IO
. popen("-" , mode = "r" , opt={}) -> IO (9251.0) -
第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。
...ンを確立します。
親プロセスでは IO オブジェクトを返し、子プロセスでは
nil を返します。
io = IO.popen("-", "r+")
if io # parent
io.puts "foo"
p io.gets # => "child output: foo\n"
io.close
else # child
s = gets
print...... IO オブジェクトを引数に
ブロックを実行し、その結果を返します。ブロックの実行後、生成したパイ
プは自動的にクローズされます。
子プロセスでは nil を引数にブロックを実行し終了します。
p IO.popen("-", "r+") {|io|......ンが指定できます。
IO.new や Kernel.#spawn で指定できるものと共通なので
詳しくはそちらを見てください。
@param env 環境変数を { 変数名 => 内容 } という形式の Hash で渡します。
@param mode オープンする IO ポートのモードを指...