3349件ヒット
[1-100件を表示]
(0.229秒)
ライブラリ
- ビルトイン (724)
- abbrev (11)
- bigdecimal (11)
-
cgi
/ core (33) -
cgi
/ session (33) -
cgi
/ session / pstore (11) - csv (33)
- dbm (22)
-
digest
/ sha2 (22) - erb (7)
- etc (11)
- forwardable (33)
- gdbm (22)
- ipaddr (11)
-
irb
/ cmd / pushws (11) - json (110)
- logger (12)
- matrix (22)
-
minitest
/ unit (1) -
net
/ http (22) -
net
/ pop (11) -
net
/ smtp (11) - open-uri (11)
- openssl (88)
- optparse (121)
- ostruct (22)
- pathname (11)
- prettyprint (11)
- psych (44)
- rake (22)
-
rdoc
/ generator / darkfish (22) -
rdoc
/ text (22) - resolv (11)
-
rexml
/ document (11) -
rexml
/ parsers / pullparser (11) -
rinda
/ rinda (33) -
rinda
/ tuplespace (44) -
rubygems
/ command (33) -
rubygems
/ config _ file (11) -
rubygems
/ dependency _ list (11) -
rubygems
/ installer (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ source _ info _ cache (55) -
rubygems
/ source _ info _ cache _ entry (11) - sdbm (22)
- set (11)
- shell (336)
-
shell
/ builtin-command (12) -
shell
/ command-processor (258) -
shell
/ filter (420) -
shell
/ process-controller (60) -
shell
/ system-command (54) - shellwords (33)
- socket (11)
- stringio (11)
- sync (12)
- thread (6)
- thwait (6)
-
webrick
/ httpauth / htdigest (22) -
webrick
/ httpauth / htgroup (11) -
webrick
/ httpauth / htpasswd (11) -
webrick
/ httprequest (44) -
webrick
/ httpresponse (22) -
webrick
/ server (11) -
yaml
/ dbm (11) - zlib (121)
クラス
- Array (66)
- BasicSocket (11)
- BigDecimal (11)
- Bignum (3)
-
CGI
:: Session :: FileStore (11) -
CGI
:: Session :: MemoryStore (11) -
CGI
:: Session :: NullStore (11) -
CGI
:: Session :: PStore (11) - CSV (11)
-
CSV
:: Table (22) - DBM (22)
- Data (4)
-
Digest
:: SHA2 (22) - ERB (7)
-
Encoding
:: Converter (11) -
Enumerator
:: ArithmeticSequence (6) -
Etc
:: Passwd (11) - File (11)
- Float (11)
- GDBM (22)
-
Gem
:: Command (33) -
Gem
:: ConfigFile (11) -
Gem
:: DependencyList (11) -
Gem
:: Installer (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: SourceInfoCache (55) -
Gem
:: SourceInfoCacheEntry (11) - Hash (403)
- IO (11)
- IPAddr (11)
-
IRB
:: ExtendCommand :: PushWorkspace (11) - Logger (11)
-
Logger
:: Application (1) - MatchData (11)
- Matrix (11)
- Method (11)
-
MiniTest
:: Unit (1) -
Net
:: HTTP (11) -
Net
:: POP3 (11) -
Net
:: SMTP (11) - Object (11)
-
OpenSSL
:: ASN1 :: ObjectId (22) -
OpenSSL
:: BN (22) -
OpenSSL
:: SSL :: SSLContext (11) -
OpenSSL
:: X509 :: Extension (11) -
OpenSSL
:: X509 :: ExtensionFactory (11) -
OpenSSL
:: X509 :: Name (11) - OpenStruct (22)
- OptionParser (110)
- Pathname (11)
- PrettyPrint (11)
- Proc (11)
-
Psych
:: Stream (11) -
Psych
:: Visitors :: YAMLTree (33) -
RDoc
:: Generator :: Darkfish (22) -
RDoc
:: Options (22) -
REXML
:: Parent (11) -
REXML
:: Parsers :: PullParser (11) -
Rake
:: TaskArguments (11) - Range (11)
- Rational (22)
- Regexp (11)
-
Resolv
:: DNS :: Resource :: SOA (11) -
Rinda
:: TupleEntry (11) -
Rinda
:: TupleSpace (33) -
Rinda
:: TupleSpaceProxy (33) - SDBM (22)
- Set (11)
- Shell (336)
-
Shell
:: BuiltInCommand (12) -
Shell
:: CommandProcessor (258) -
Shell
:: Filter (420) -
Shell
:: ProcessController (60) -
Shell
:: SystemCommand (54) - String (77)
- StringIO (11)
- Struct (11)
-
Thread
:: Queue (11) -
Thread
:: SizedQueue (22) - ThreadsWait (6)
- Time (11)
- UnboundMethod (11)
- Vector (11)
-
WEBrick
:: GenericServer (11) -
WEBrick
:: HTTPAuth :: Htdigest (22) -
WEBrick
:: HTTPAuth :: Htgroup (11) -
WEBrick
:: HTTPAuth :: Htpasswd (11) -
WEBrick
:: HTTPRequest (44) -
WEBrick
:: HTTPResponse (22) -
YAML
:: DBM (11) -
Zlib
:: Deflate (33) -
Zlib
:: GzipWriter (22) -
Zlib
:: Inflate (11) -
Zlib
:: ZStream (55)
モジュール
-
CGI
:: QueryExtension (33) - Enumerable (17)
- FileUtils (11)
- Forwardable (11)
-
Gem
:: LocalRemoteOptions (11) -
JSON
:: Generator :: GeneratorMethods :: Array (11) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: Float (11) -
JSON
:: Generator :: GeneratorMethods :: Hash (11) -
JSON
:: Generator :: GeneratorMethods :: Integer (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (22) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) -
Net
:: HTTPHeader (11) -
OpenURI
:: Meta (11) -
OptionParser
:: Arguable (11) -
RDoc
:: Text (22) - SingleForwardable (22)
-
Sync
_ m (12)
キーワード
- < (6)
- > (6)
- >> (6)
- [] (29)
- abbrev (11)
- active? (12)
-
active
_ job? (6) -
active
_ jobs (6) -
active
_ jobs _ exist? (6) -
add
_ bulk _ threshold _ option (11) - append (18)
- atime (18)
- attributes (11)
- basename (18)
- begins? (11)
-
block
_ length (11) - blockdev? (6)
-
bulk
_ threshold (11) -
cache
_ data (11) - cat (18)
- chardev? (6)
- chdir (6)
- chmod (18)
- chown (18)
- classify (11)
-
close
_ write (11) - command (6)
- compact! (8)
-
compare
_ by _ identity (11) -
compare
_ by _ identity? (11) - concat (6)
- config (11)
-
create
_ ext _ from _ hash (11) - ctime (18)
- cwd (6)
- debug (6)
- debug? (6)
-
deconstruct
_ keys (2) - default (22)
-
default
_ proc (11) - deflate (11)
- delegate (11)
- delete (29)
-
delete
_ if (22) - dig (9)
-
digest
_ length (11) - dir (6)
-
dir
_ stack (6) - directory? (18)
- dirname (18)
- dirs (6)
- each (28)
-
each
_ pair (11) - echo (18)
- executable? (18)
-
executable
_ real? (18) - execute (11)
- exist? (18)
- exists? (18)
- fetch (11)
-
fetch
_ path (11) - file? (6)
- files (11)
- filter (12)
- filter! (12)
- finish (110)
- finished (11)
- finished? (28)
- flock (11)
- flush (66)
-
flush
_ left (11) -
flush
_ next _ in (11) -
flush
_ next _ out (11) -
flush
_ sessions (11) - foreach (18)
- ftype (18)
- generate (11)
- getopts (33)
- getwd (6)
- glob (18)
- grpowned? (6)
- gsub (11)
- gsub! (11)
- hash (231)
-
hash
_ old (11) - header (22)
- index (7)
- initialize (11)
- input (6)
- inspect (17)
-
instance
_ delegate (11) - invert (44)
-
jobs
_ exist? (6) - join (18)
-
keep
_ if (17) - key (7)
- kill (12)
-
kill
_ job (6) -
latest
_ cache _ data (11) - length (11)
- link (6)
- lshift! (11)
- lstat (18)
-
marshal
_ dump (11) - mkdir (18)
- modifiable (11)
- mtime (18)
- name (6)
- notify (30)
- on (88)
- open (18)
- out (6)
- owned? (6)
- params (11)
- pipe? (6)
-
process
_ args (1) - push (11)
- pushd (6)
- pushdir (6)
- pwd (6)
- query (11)
- read (22)
-
read
_ all (22) -
read
_ cache _ data (11) - readable? (6)
-
readable
_ real? (6) - readlink (18)
-
record
_ separator (6) - refresh (22)
- rehash (6)
- reject (22)
- reject! (22)
- rename (6)
-
reset
_ cache _ for (11) - restore (44)
-
result
_ with _ hash (7) - rm (18)
- rmdir (18)
- rshift! (11)
- select (12)
- select! (22)
-
set
_ cache _ data (11) -
set
_ log (1) - setgid? (18)
- setuid? (18)
-
sev
_ threshold (11) - sfork (6)
- shebang (11)
- shell (11)
- shellescape (11)
- shelljoin (11)
- shellsplit (11)
- shift (110)
-
short
_ name (11) -
show
_ all (11) -
show
_ hash (11) - shutdown (22)
-
single
_ delegate (11) - size (29)
- size? (18)
- sn (11)
- socket? (18)
-
spec
_ predecessors (11) - split (18)
-
start
_ import (6) - stat (18)
- sticky? (18)
-
stream
_ end? (11) -
strip
_ hashes (11) - sub (11)
- sub! (11)
- symlink (6)
- symlink? (6)
-
sync
_ synchronize (6) - synchronize (6)
- system (6)
- take (22)
- tee (18)
- terminate (6)
- test (18)
-
to
_ a (6) -
to
_ csv (11) -
to
_ h (28) -
to
_ json (99) -
to
_ json _ raw _ object (11) -
to
_ s (28) - transact (6)
-
transform
_ keys (17) -
transform
_ keys! (17) -
transform
_ values (16) -
transform
_ values! (16) - truncate (6)
- unlink (18)
- unshift (33)
- utime (18)
- value (11)
- wait? (12)
-
wait
_ all _ jobs _ execution (6) -
waiting
_ job? (6) -
waiting
_ jobs (6) -
waiting
_ jobs _ exist? (6) -
with
_ defaults (11) - writable? (18)
-
writable
_ real? (18) - zero? (6)
- | (6)
検索結果
先頭5件
-
FileUtils
# sh(*cmd) {|result , status| . . . } (27226.0) -
与えられたコマンドを実行します。
...参照してください。
例:
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.exitstatus})"
end
end
@see Kernel.#exec, Kernel.#system... -
Shell
:: SystemCommand # terminate -> () (24401.0) -
@todo
...@todo... -
Hash
# shift -> [object , object] | nil (21401.0) -
ハッシュからキーが追加された順で先頭の要素をひとつ取り除き、 [key, value]という配列として返します。
...て返します。
shiftは破壊的メソッドです。selfは要素を取り除かれた残りのハッシュに変更されます。
ハッシュが空の場合、デフォルト値(Hash#defaultまたはHash#default_procのブロックの値か、どちらもnilならばnil)
を返しま......ト値に関わらず nil になる予定なので、デフォルト値を設定しているハッシュで
shift を使う場合は注意してください。(16908)
//emlist[例][ruby]{
h = {:ab => "some" , :cd => "all"}
p h.shift #=> [:ab, "some"]
p h.shift #=> [:cd,......"all"]
p h #=> {}
p h.shift #=> nil
h1 = Hash.new("default value")
p h1 #=> {}
p h1.shift #=> "default value"
h2 = Hash.new {|*arg| arg}
p h2 #=> {}
p h2.shift #=> [{}, nil]
//}
@see Array#shift... -
Gem
:: LocalRemoteOptions # add _ bulk _ threshold _ option (21317.0) -
オプション --bulk-threshold を追加します。
...オプション --bulk-threshold を追加します。... -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ hash(hash) -> OpenSSL :: X509 :: Extension (18601.0) -
ハッシュから OpenSSL::X509::Extension オブジェクトを生成します。
...Extension オブジェクトを生成します。
渡すハッシュテーブルは
{"oid" => OID文字列, "value" => value文字列, "critical" => 真偽値 }
という内容が必要です。"critical" を省略した場合は false が
渡されるのと同じになります。
@param hash......生成する拡張領域のデータのハッシュテーブル
@see OpenSSL::X509::ExtensionFactory#create_ext... -
Encoding
:: Converter # finish -> String (18519.0) -
変換処理を終了し、結果文字列の末尾を返します。 変換元の文字列の末尾がバイト列の途中で終わっていた場合、保持しているバイト列全てを返します。
...ます。
@return 変換結果の末尾
@raise Encoding::InvalidByteSequenceError 変換元のエンコーディングにお
いて不正なバイト列があった場合に発生します。
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "iso-2022-jp")
p ec.convert("\u3042") #......=> "\e$B$\""
p ec.finish #=> "\e(B"
//}... -
Array
# shift -> object | nil (18501.0) -
配列の先頭の要素を取り除いてそれを返します。 引数を指定した場合はその個数だけ取り除き、それを配列で返します。
...指定した場合はその個数だけ取り除き、それを配列で返します。
空配列の場合、n が指定されていない場合は nil を、
指定されている場合は空配列を返します。
また、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... -
ERB
# result _ with _ hash(hash) -> String (18501.0) -
ERB をハッシュオブジェクトで指定されたローカル変数を持つ 新しいトップレベルバインディングで実行し、結果の文字列を返します。
...ERB をハッシュオブジェクトで指定されたローカル変数を持つ
新しいトップレベルバインディングで実行し、結果の文字列を返します。
@param hash ローカル変数名をキーにしたハッシュ
@see ERB#result... -
RDoc
:: Text # strip _ hashes(text) -> String (18501.0) -
引数から各行の行頭の # を削除します。
...引数から各行の行頭の # を削除します。
@param text 文字列を指定します。... -
Zlib
:: ZStream # flush _ next _ in -> String (18501.0) -
入力バッファに残っているデータを強制的に取り出します。
入力バッファに残っているデータを強制的に取り出します。