2588件ヒット
[1-100件を表示]
(0.164秒)
ライブラリ
- ビルトイン (591)
- abbrev (12)
-
cgi
/ core (24) - csv (15)
- date (4)
- delegate (12)
- erb (8)
- forwardable (48)
-
irb
/ cmd / pushws (12) - json (108)
- logger (13)
-
minitest
/ unit (1) -
net
/ http (24) - openssl (84)
- optparse (132)
- psych (12)
- rake (48)
-
rdoc
/ generator / darkfish (12) -
rdoc
/ text (24) -
rexml
/ document (24) -
rexml
/ parsers / pullparser (12) -
rinda
/ rinda (36) -
rinda
/ tuplespace (36) -
rubygems
/ command (36) -
rubygems
/ config _ file (12) -
rubygems
/ installer (12) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ server (12) -
rubygems
/ source _ info _ cache (36) -
rubygems
/ source _ info _ cache _ entry (12) - shell (318)
-
shell
/ command-processor (276) -
shell
/ filter (378) -
shell
/ process-controller (42) -
shell
/ system-command (24) - socket (12)
- sync (24)
- thread (6)
-
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (12) - zlib (36)
クラス
- Array (48)
- BasicSocket (12)
-
CSV
:: Row (3) -
CSV
:: Table (12) - Data (3)
- Date (2)
- DateTime (2)
- Delegator (12)
- ERB (8)
- File (12)
-
Gem
:: Command (36) -
Gem
:: ConfigFile (12) -
Gem
:: Installer (12) -
Gem
:: RemoteFetcher (12) -
Gem
:: Server (12) -
Gem
:: SourceInfoCache (36) -
Gem
:: SourceInfoCacheEntry (12) - Hash (401)
-
IRB
:: ExtendCommand :: PushWorkspace (12) - Logger (12)
-
Logger
:: Application (1) - MatchData (14)
-
MiniTest
:: Unit (1) - Object (12)
-
OpenSSL
:: BN (24) -
OpenSSL
:: Config (12) -
OpenSSL
:: SSL :: SSLContext (24) -
OpenSSL
:: SSL :: SSLServer (12) -
OpenSSL
:: X509 :: ExtensionFactory (12) - OptionParser (120)
-
Psych
:: Visitors :: YAMLTree (12) -
RDoc
:: Generator :: Darkfish (12) -
RDoc
:: Options (12) -
REXML
:: Parent (24) -
REXML
:: Parsers :: PullParser (12) -
Rake
:: TaskArguments (12) -
Rinda
:: TupleSpace (36) -
Rinda
:: TupleSpaceProxy (36) - Shell (318)
-
Shell
:: CommandProcessor (276) -
Shell
:: Filter (378) -
Shell
:: ProcessController (42) -
Shell
:: SystemCommand (24) - String (48)
- Struct (6)
-
Thread
:: Queue (12) -
Thread
:: SizedQueue (24) - Time (2)
-
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htgroup (12) -
WEBrick
:: HTTPAuth :: Htpasswd (12) -
Zlib
:: Deflate (24) -
Zlib
:: GzipWriter (12)
モジュール
-
CGI
:: QueryExtension (24) - Enumerable (27)
- FileUtils (24)
- Forwardable (24)
-
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (12)
-
Net
:: HTTPHeader (24) -
OptionParser
:: Arguable (12) -
RDoc
:: Text (24) - SingleForwardable (24)
-
Sync
_ m (24)
キーワード
- < (16)
- <= (10)
- == (12)
- === (12)
- > (16)
- >= (10)
- >> (6)
- Marshal (12)
- [] (30)
- []= (12)
- abbrev (12)
-
active
_ job? (6) -
add
_ schedule (6) - append (18)
- atime (18)
- basename (18)
- begins? (12)
- blockdev? (6)
-
bulk
_ threshold= (12) - cat (18)
- cd (6)
- chardev? (6)
- chdir (6)
- chmod (18)
- chown (18)
-
create
_ ext _ from _ hash (12) - ctime (18)
-
deconstruct
_ keys (20) - default (24)
- default= (12)
-
default
_ proc= (12) - defaults= (12)
- deflate (12)
- delegate (24)
- delete (42)
- dig (10)
- directory? (18)
- dirname (18)
- each (12)
- echo (18)
- eql? (12)
- equal? (12)
- executable? (18)
-
executable
_ real? (18) - execute (12)
- exist? (18)
- exists? (18)
- fetch (48)
-
fetch
_ path (12) -
fetch
_ values (20) - file? (6)
- flatten (12)
- flock (12)
- flush (60)
-
flush
_ left (12) -
flush
_ sessions (12) - foreach (18)
- ftype (18)
- getopts (36)
- glob (18)
- grpowned? (6)
- gsub (12)
- gsub! (12)
- index (7)
- initialize (12)
- input= (6)
-
instance
_ delegate (12) - join (18)
- key (12)
- kill (12)
-
kill
_ job (6) - link (6)
- lshift! (12)
- lstat (18)
-
marshal
_ load (24) - merge (24)
- merge! (24)
- mkdir (18)
- mtime (18)
-
named
_ captures (12) - notify (12)
- on (96)
- open (18)
- out (18)
- owned? (6)
- params (12)
- params= (12)
- pipe? (6)
-
process
_ args (1) - push (48)
- pushd (6)
- pushdir (6)
- read (24)
-
read
_ all (24) -
read
_ cache _ data (12) - readable? (6)
-
readable
_ real? (6) - readlink (18)
- refresh (12)
- rename (18)
- replace (12)
-
reset
_ cache _ for (12) -
result
_ with _ hash (8) - rm (18)
- rmdir (18)
- rshift! (12)
- ruby (12)
- rule (12)
-
set
_ cache _ data (12) -
set
_ log (1) -
set
_ params (12) - setgid? (18)
- setuid? (18)
-
sev
_ threshold= (12) - sfork (6)
- shebang (12)
- shift (48)
-
show
_ all= (12) - shutdown (24)
-
single
_ delegate (12) - size (18)
- size? (18)
- socket? (18)
- split (18)
-
start
_ job (6) - stat (18)
- sticky? (18)
- store (12)
-
strip
_ hashes (12) - sub (12)
- sub! (12)
- symlink (6)
- symlink? (6)
-
sync
_ synchronize (6) -
sync
_ try _ lock (6) - synchronize (6)
- system (18)
-
system
_ path (6) -
system
_ path= (6) - take (24)
- tally (8)
- tee (18)
-
terminate
_ job (6) - test (18)
-
to
_ h (19) -
to
_ json (108) -
transform
_ keys (12) -
transform
_ keys! (12) - truncate (18)
-
try
_ lock (6) -
type
_ params (12) - unlink (18)
- unshift (36)
- update (24)
- utime (18)
-
values
_ at (12) -
waiting
_ job? (6) -
with
_ defaults (12) - writable? (18)
-
writable
_ real? (18) - zero? (6)
- | (6)
検索結果
先頭5件
- FileUtils
# sh(*cmd) {|result , status| . . . } - OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ hash(hash) -> OpenSSL :: X509 :: Extension - JSON
:: Generator :: GeneratorMethods :: Hash # to _ json(state _ or _ hash = nil) -> String - Gem
:: ConfigFile # bulk _ threshold=(bulk _ threshold) - OpenSSL
:: SSL :: SSLContext # set _ params(params) -> Hash
-
FileUtils
# sh(*cmd) {|result , status| . . . } (21226.0) -
与えられたコマンドを実行します。
...@param cmd 引数の解釈に関しては Kernel.#exec を参照してください。
例:
sh %{ls -ltr}
sh 'ls', 'file with spaces'
# check exit status after command runs
sh %{grep pattern file} do |ok, res|
if ! ok
puts "pattern not found (status = #{res.exitstatu......s})"
end
end
@see Kernel.#exec, Kernel.#system... -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ hash(hash) -> OpenSSL :: X509 :: Extension (15407.0) -
ハッシュから OpenSSL::X509::Extension オブジェクトを生成します。
...Extension オブジェクトを生成します。
渡すハッシュテーブルは
{"oid" => OID文字列, "value" => value文字列, "critical" => 真偽値 }
という内容が必要です。"critical" を省略した場合は false が
渡されるのと同じになります。
@param hash......生成する拡張領域のデータのハッシュテーブル
@see OpenSSL::X509::ExtensionFactory#create_ext... -
JSON
:: Generator :: GeneratorMethods :: Hash # to _ json(state _ or _ hash = nil) -> String (15207.0) -
自身から生成した JSON 形式の文字列を返します。
...します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
req......uire "json"
person = { "name" => "tanaka", "age" => 19 }
person.to_json # => "{\"name\":\"tanaka\",\"age\":19}"
//}... -
Gem
:: ConfigFile # bulk _ threshold=(bulk _ threshold) (12407.0) -
一括ダウンロードの閾値を設定します。
...一括ダウンロードの閾値を設定します。
@param bulk_threshold 数値を指定します。... -
OpenSSL
:: SSL :: SSLContext # set _ params(params) -> Hash (12401.0) -
パラメータをハッシュで設定します。
...。
* :cert (OpenSSL::SSL::SSLContext#cert=)
* :key (OpenSSL::SSL::SSLContext#key=)
* :client_ca (OpenSSL::SSL::SSLContext#client_ca=)
* :ca_file (OpenSSL::SSL::SSLContext#ca_file=)
* :ca_path (OpenSSL::SSL::SSLContext#ca_path=)
* :timeout (OpenSSL::SSL::SSLContext#timeout=)
* :verify_......ntext#verify_mode=)
* :verify_depth (OpenSSL::SSL::SSLContext#verify_depth=)
* :verify_callback (OpenSSL::SSL::SSLContext#verify_callback=)
* :options (OpenSSL::SSL::SSLContext#options=)
* :cert_store (OpenSSL::SSL::SSLContext#cert_store=)
* :extra_chain_cert (OpenSSL::SSL::SSLContext#extr......a_chain_cert=)
* :client_cert_cb (OpenSSL::SSL::SSLContext#client_cert_cb=)
* :tmp_dh_callback (OpenSSL::SSL::SSLContext#tmp_dh_callback=)
* :session_id_context (OpenSSL::SSL::SSLContext#session_id_context=)
* :session_get_cb (OpenSSL::SSL::SSLContext#session_get_cb=)
* :session_new_cb (Op... -
Shell
:: Filter # system(command , *opts) -> Shell :: SystemCommand (12337.0) -
command を実行する.
...る.
@param command 実行するコマンドのパスを文字列で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_comma......nd("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
:: Filter # tee(file) -> Shell :: Filter (12319.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...lter オブジェクトを返します.
@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat......(file).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}... -
Array
# shift -> object | nil (12307.0) -
配列の先頭の要素を取り除いてそれを返します。 引数を指定した場合はその個数だけ取り除き、それを配列で返します。
...法として使えます。
@param n 自身から取り除きたい要素の個数を非負整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外......@raise ArgumentError 引数に負の数を指定した場合に発生します。
//emlist[例][ruby]{
a = [0, 1, 2, 3, 4]
p a.shift #=> 0
p a #=> [1, 2, 3, 4]
p [].shift #=> nil
p [].shift(1) #=> []
//}
@see Array#push, Array#pop, Array#unshift... -
BasicSocket
# shutdown(how = Socket :: SHUT _ RDWR) -> 0 (12307.0) -
ソケットの以降の接続を終了させます。
...* Socket::SHUT_RD: それ以降の受信が拒否されます
* Socket::SHUT_WR: それ以降の送信が拒否されます
* Socket::SHUT_RDWR: それ以降の送信、受信ともに拒否されます
how を省略すると Socket::SHUT_RDWR を指定したことになります。
shutdown(2)......参照してください。
@param how 接続の終了の仕方を Socket::SHUT_RD, Socket::SHUT_WR, Socket::SHUT_RDWR などで指定します。
@raise Errno::EXXX ソケットの以降の接続を終了操作が失敗した場合に発生します。
@raise ArgumentError how に範囲外の整......数を入力した場合に発生します。
@raise SecurityError セーフレベルが 4 以上で、ソケットに汚染マークがついていない場合発生します。... -
ERB
# result _ with _ hash(hash) -> String (12307.0) -
ERB をハッシュオブジェクトで指定されたローカル変数を持つ 新しいトップレベルバインディングで実行し、結果の文字列を返します。
...ERB をハッシュオブジェクトで指定されたローカル変数を持つ
新しいトップレベルバインディングで実行し、結果の文字列を返します。
@param hash ローカル変数名をキーにしたハッシュ
@see ERB#result...