ライブラリ
- ビルトイン (1567)
- abbrev (11)
- bigdecimal (11)
-
cgi
/ core (44) -
cgi
/ session (33) -
cgi
/ session / pstore (11) - csv (77)
- dbm (44)
- delegate (22)
-
digest
/ sha2 (22) - drb (11)
- erb (7)
- etc (22)
- forwardable (44)
- gdbm (44)
-
io
/ console (33) - ipaddr (11)
-
irb
/ cmd / pushws (11) - json (132)
- logger (23)
- matrix (22)
-
minitest
/ unit (1) -
net
/ http (33) -
net
/ pop (11) -
net
/ smtp (11) - open-uri (11)
- openssl (143)
- optparse (121)
- ostruct (28)
- pathname (11)
- prettyprint (11)
- psych (55)
- rake (66)
-
rdoc
/ code _ object (11) -
rdoc
/ generator / darkfish (22) -
rdoc
/ text (22) - resolv (11)
-
rexml
/ document (22) -
rexml
/ parsers / pullparser (11) -
rinda
/ rinda (33) -
rinda
/ tuplespace (44) - rss (330)
- rubygems (22)
-
rubygems
/ command (77) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ config _ file (44) -
rubygems
/ dependency _ list (11) -
rubygems
/ installer (11) -
rubygems
/ package / tar _ writer (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ server (11) -
rubygems
/ source _ index (33) -
rubygems
/ source _ info _ cache (77) -
rubygems
/ source _ info _ cache _ entry (11) -
rubygems
/ spec _ fetcher (22) -
rubygems
/ version (22) - sdbm (44)
- set (11)
- shell (576)
-
shell
/ builtin-command (60) -
shell
/ command-processor (408) -
shell
/ filter (468) -
shell
/ process-controller (90) -
shell
/ system-command (90) - shellwords (33)
- socket (11)
- stringio (11)
- sync (72)
- thread (8)
- thwait (6)
-
webrick
/ cgi (11) -
webrick
/ httpauth / htdigest (22) -
webrick
/ httpauth / htgroup (11) -
webrick
/ httpauth / htpasswd (22) -
webrick
/ httprequest (44) -
webrick
/ httpresponse (22) -
webrick
/ server (22) -
win32
/ registry (11) -
yaml
/ dbm (22) - zlib (132)
クラス
- Array (138)
- BasicSocket (11)
- BigDecimal (11)
- Bignum (3)
-
CGI
:: Session :: FileStore (11) -
CGI
:: Session :: MemoryStore (11) -
CGI
:: Session :: NullStore (11) -
CGI
:: Session :: PStore (11) - CSV (22)
-
CSV
:: Row (22) -
CSV
:: Table (33) - Complex (11)
- DBM (44)
-
DRb
:: DRbServer (11) - Data (8)
- Delegator (22)
-
Digest
:: SHA2 (22) - ERB (7)
-
Encoding
:: Converter (11) -
Enumerator
:: ArithmeticSequence (6) -
Etc
:: Passwd (22) - File (11)
- Float (11)
- GDBM (44)
-
Gem
:: Command (77) -
Gem
:: Commands :: DependencyCommand (11) -
Gem
:: ConfigFile (44) -
Gem
:: DependencyList (11) -
Gem
:: Installer (11) -
Gem
:: Package :: TarWriter (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: Server (11) -
Gem
:: SourceIndex (33) -
Gem
:: SourceInfoCache (77) -
Gem
:: SourceInfoCacheEntry (11) -
Gem
:: SpecFetcher (22) -
Gem
:: Version (22) - Hash (1015)
- IO (77)
- IPAddr (11)
-
IRB
:: ExtendCommand :: PushWorkspace (11) -
JSON
:: State (22) - Logger (22)
-
Logger
:: Application (1) - MatchData (22)
- Matrix (11)
- Method (11)
-
MiniTest
:: Unit (1) -
Net
:: HTTP (11) -
Net
:: POP3 (11) -
Net
:: SMTP (11) - Object (44)
-
OpenSSL
:: ASN1 :: ObjectId (22) -
OpenSSL
:: BN (22) -
OpenSSL
:: Config (11) -
OpenSSL
:: Engine (11) -
OpenSSL
:: SSL :: SSLContext (22) -
OpenSSL
:: SSL :: SSLServer (11) -
OpenSSL
:: X509 :: Extension (11) -
OpenSSL
:: X509 :: ExtensionFactory (11) -
OpenSSL
:: X509 :: Name (11) - OpenStruct (28)
- OptionParser (110)
- Pathname (11)
- PrettyPrint (11)
- Proc (11)
-
Psych
:: Stream (11) -
Psych
:: Visitors :: YAMLTree (44) -
RDoc
:: CodeObject (11) -
RDoc
:: Generator :: Darkfish (22) -
RDoc
:: Options (44) -
REXML
:: Parent (22) -
REXML
:: Parsers :: PullParser (11) -
RSS
:: Maker :: RSSBase (11) -
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet (132) -
RSS
:: XMLStyleSheet (132) -
Rake
:: TaskArguments (33) - Random (22)
- Range (11)
- Rational (22)
- Regexp (11)
-
Resolv
:: DNS :: Resource :: SOA (11) -
Rinda
:: TupleEntry (11) -
Rinda
:: TupleSpace (33) -
Rinda
:: TupleSpaceProxy (33) - SDBM (44)
- Set (11)
- Shell (576)
-
Shell
:: AppendFile (6) -
Shell
:: AppendIO (6) -
Shell
:: BuiltInCommand (12) -
Shell
:: Cat (6) -
Shell
:: CommandProcessor (408) -
Shell
:: Concat (6) -
Shell
:: Echo (6) -
Shell
:: Filter (468) -
Shell
:: Glob (6) -
Shell
:: ProcessController (90) -
Shell
:: SystemCommand (90) -
Shell
:: Tee (6) -
Shell
:: Void (6) - String (77)
- StringIO (11)
- Struct (28)
-
Thread
:: Queue (22) -
Thread
:: SizedQueue (22) - ThreadsWait (6)
- Time (11)
- UnboundMethod (11)
- Vector (11)
-
WEBrick
:: CGI (11) -
WEBrick
:: GenericServer (22) -
WEBrick
:: HTTPAuth :: Htdigest (22) -
WEBrick
:: HTTPAuth :: Htgroup (11) -
WEBrick
:: HTTPAuth :: Htpasswd (22) -
WEBrick
:: HTTPRequest (44) -
WEBrick
:: HTTPResponse (22) -
Win32
:: Registry (11) -
YAML
:: DBM (22) -
Zlib
:: Deflate (33) -
Zlib
:: GzipFile (11) -
Zlib
:: GzipWriter (22) -
Zlib
:: Inflate (11) -
Zlib
:: ZStream (55)
モジュール
-
CGI
:: QueryExtension (44) - DublinCoreModel (33)
- Enumerable (36)
- FileUtils (22)
- Forwardable (22)
-
Gem
:: LocalRemoteOptions (11) -
Gem
:: QuickLoader (22) -
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) - Kernel (11)
-
Net
:: HTTPHeader (22) -
OpenSSL
:: Buffering (11) -
OpenURI
:: Meta (11) -
OptionParser
:: Arguable (11) -
RDoc
:: Text (22) -
RSS
:: XMLStyleSheetMixin (22) - SingleForwardable (22)
-
Sync
_ m (72)
キーワード
- + (6)
- < (15)
- <= (9)
- == (11)
- === (11)
- > (15)
- >= (9)
- >> (6)
- Marshal (11)
- [] (29)
- []= (22)
- abbrev (11)
- active? (12)
-
active
_ job? (6) -
active
_ jobs (6) -
active
_ jobs _ exist? (6) -
add
_ bulk _ threshold _ option (11) -
add
_ schedule (6) -
add
_ specs (11) - alternate (22)
- alternate= (22)
- append (18)
- assoc (11)
- atime (18)
- attributes (11)
- basename (18)
- begins? (11)
-
block
_ length (11) - blockdev? (18)
-
bulk
_ threshold (11) -
bulk
_ threshold= (11) -
cache
_ data (11) - cat (18)
- cd (6)
- chardev? (18)
- charset (22)
- charset= (22)
- chdir (6)
-
check
_ point (18) - chmod (18)
- chown (18)
- classify (11)
- clear (11)
- clone (11)
-
close
_ read (11) -
close
_ write (11) - closed? (11)
- command (6)
-
command
_ processor (6) - compact (8)
- compact! (8)
-
compare
_ by _ identity (11) -
compare
_ by _ identity? (11) - concat (18)
- config (44)
-
create
_ ext _ from _ hash (11) - ctime (18)
- cwd (6)
-
dc
_ publisher (11) -
dc
_ publisher= (11) -
dc
_ publishers (11) - debug (6)
- debug= (6)
- debug? (6)
-
deconstruct
_ keys (2) - default (22)
- default= (11)
-
default
_ proc (11) -
default
_ proc= (11) - defaults (11)
- defaults= (11)
- deflate (11)
- delegate (22)
- delete (40)
-
delete
_ if (22) - dig (9)
-
digest
_ length (11) - dir (6)
-
dir
_ stack (6) - directory? (18)
- dirname (18)
- dirs (6)
- dup (11)
- each (125)
-
each
_ key (22) -
each
_ pair (22) -
each
_ value (22) - echo (18)
- empty? (11)
- eql? (11)
- equal? (11)
- except (3)
- executable? (18)
-
executable
_ real? (18) - execute (11)
- exist? (18)
- exists? (18)
- fetch (44)
-
fetch
_ path (11) -
fetch
_ values (18) - file? (18)
- files (11)
- filter (12)
- filter! (12)
-
find
_ gems (11) -
find
_ system _ command (18) - finish (132)
-
finish
_ all _ jobs (18) -
finish
_ page _ dir (11) - finished (11)
- finished? (28)
- flatten (11)
- flock (11)
- flush (149)
-
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)
-
group
_ by (11) - grpowned? (18)
- gsub (11)
- gsub! (11)
-
has
_ key? (11) -
has
_ value? (11) - hash (242)
-
hash
_ old (11) - header (22)
- href (22)
- href= (22)
- identical? (18)
- iflush (11)
- include? (11)
- index (7)
- initialize (11)
- input (6)
- input= (24)
- inspect (17)
-
instance
_ delegate (11) - invert (44)
- ioflush (11)
- jobs (12)
-
jobs
_ exist? (6) - join (18)
-
keep
_ if (22) - key (11)
- key? (11)
- keys (11)
- kill (12)
-
kill
_ job (6) -
latest
_ cache _ data (11) -
latest
_ specs (11) - length (11)
- link (18)
- lock (6)
- lshift! (11)
- lstat (18)
-
marshal
_ dump (66) -
marshal
_ load (44) - media (22)
- media= (22)
- member? (11)
- merge (22)
- merge! (22)
- mkdir (18)
- modifiable (11)
- mtime (18)
- name (6)
-
named
_ captures (11) - notify (30)
- oflush (11)
- on (88)
- open (18)
- out (18)
- owned? (18)
- params (11)
- params= (11)
- pipe? (18)
- popd (6)
- popdir (6)
-
process
_ args (1) -
process
_ controller (6) - push (77)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (11) -
push
_ gem _ version _ on _ load _ path (11) - pushd (6)
- pushdir (6)
- pwd (6)
- query (11)
- rassoc (11)
- read (22)
-
read
_ all (22) -
read
_ cache _ data (11) - readable? (18)
-
readable
_ real? (18) - readlink (18)
-
record
_ separator (6) -
record
_ separator= (6) - refresh (33)
- refresh! (11)
- rehash (29)
- reject (55)
- reject! (22)
- rename (18)
- replace (11)
-
reset
_ cache _ for (11) - restore (44)
-
result
_ with _ hash (7) - rm (18)
- rmdir (18)
- rshift! (11)
- ruby (11)
- rule (11)
- select (22)
- select! (22)
-
set
_ cache _ data (11) -
set
_ log (1) -
set
_ params (11) - setgid? (18)
- setuid? (18)
-
sev
_ threshold (11) -
sev
_ threshold= (11) - sfork (6)
- shared? (6)
- shebang (11)
- shell (17)
- shell= (11)
- shellescape (11)
- shelljoin (11)
- shellsplit (11)
- shift (110)
-
short
_ name (11) -
show
_ all (11) -
show
_ all= (11) -
show
_ hash (11) -
show
_ help (11) -
show
_ lookup _ failure (11) - shuffle (22)
- shuffle! (22)
- shutdown (33)
-
single
_ delegate (11) - size (29)
- size? (18)
- slice (7)
- sn (11)
- socket? (18)
-
spec
_ predecessors (11) - specs (11)
- split (18)
- start (6)
-
start
_ export (6) -
start
_ import (6) -
start
_ job (6) - stat (18)
- sticky? (18)
- store (11)
-
stream
_ end? (11) -
strip
_ hashes (11) - sub (11)
- sub! (11)
-
super
_ each (6) - symlink (18)
- symlink? (18)
-
sync
_ lock (6) -
sync
_ sh _ locker (6) -
sync
_ sh _ locker= (6) -
sync
_ shared? (6) -
sync
_ synchronize (6) -
sync
_ try _ lock (6) -
sync
_ unlock (6) - synchronize (6)
- system (18)
-
system
_ path (6) -
system
_ path= (6) - take (22)
- tally (8)
- tee (18)
- terminate (6)
-
terminate
_ job (6) - test (18)
- title (22)
- title= (22)
-
to
_ a (17) -
to
_ csv (11) -
to
_ h (100) -
to
_ hash (99) -
to
_ json (99) -
to
_ json _ raw _ object (11) -
to
_ proc (9) -
to
_ s (28) - transact (18)
-
transform
_ keys (17) -
transform
_ keys! (17) -
transform
_ values (16) -
transform
_ values! (16) - truncate (18)
-
try
_ lock (6) - type (22)
- type= (22)
-
type
_ params (11) - umask (6)
- umask= (6)
- unlink (18)
- unlock (6)
- unshift (33)
- update (22)
- utime (18)
- value (11)
- value? (11)
- values (11)
-
values
_ at (11) - verbose (6)
- verbose= (6)
- verbose? (6)
- wait? (12)
-
wait
_ all _ jobs _ execution (6) -
waiting
_ job? (6) -
waiting
_ jobs (6) -
waiting
_ jobs _ exist? (6) -
with
_ defaults (11) -
world
_ readable? (18) -
world
_ writable? (18) - writable? (18)
-
writable
_ real? (18) -
xml
_ stylesheets (22) -
xml
_ stylesheets= (11) - zero? (18)
- | (6)
検索結果
先頭5件
-
FileUtils
# sh(*cmd) {|result , status| . . . } (18120.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.exit... -
RDoc
:: Options # show _ hash -> bool (12201.0) -
コマンドライン引数の --show-hash オプションを指定していた場合、true を 返します。そうでない場合は false を返します。
...コマンドライン引数の --show-hash オプションを指定していた場合、true を
返します。そうでない場合は false を返します。... -
Shell
:: ProcessController # shell -> Shell (9201.0) -
@todo
@todo -
Shell
# pushd(path = nil , &block) -> object (9161.0) -
カレントディレクトリをディレクトリスタックにつみ, カレントディレク トリをpathにする. pathが省略されたときには, カレントディレクトリと ディレクトリスタックのトップを交換する. イテレータとして呼ばれたと きには, ブロック実行中のみpushdする.
...みpushdする.
@param path カレントディレクトリをpathにする。文字列で指定します。
@param block イテレータとして呼ぶ場合, ブロックを指定します。
動作例
require 'shell'
Shell.verbose = false
sh = Shell.new
sh.pushd("/tmp")
p sh.cwd #=>......"/tmp"
sh.pushd("/usr")
p sh.cwd #=> "/usr"
sh.popd
p sh.cwd #=> "/tmp"
sh.pushd("/usr/local"){
p sh.cwd #=> "/usr/local"
}
p sh.cwd #=> "/tmp"... -
Shell
# pushdir(path = nil , &block) -> object (9161.0) -
カレントディレクトリをディレクトリスタックにつみ, カレントディレク トリをpathにする. pathが省略されたときには, カレントディレクトリと ディレクトリスタックのトップを交換する. イテレータとして呼ばれたと きには, ブロック実行中のみpushdする.
...みpushdする.
@param path カレントディレクトリをpathにする。文字列で指定します。
@param block イテレータとして呼ぶ場合, ブロックを指定します。
動作例
require 'shell'
Shell.verbose = false
sh = Shell.new
sh.pushd("/tmp")
p sh.cwd #=>......"/tmp"
sh.pushd("/usr")
p sh.cwd #=> "/usr"
sh.popd
p sh.cwd #=> "/tmp"
sh.pushd("/usr/local"){
p sh.cwd #=> "/usr/local"
}
p sh.cwd #=> "/tmp"... -
Hash
# hash -> Integer (9101.0) -
自身が保持するキーと値のハッシュ値を元にして算出した整数を返します。 自身が保持するキーや値が変化すればこのメソッドが返す値も変化します。
...自身が保持するキーと値のハッシュ値を元にして算出した整数を返します。
自身が保持するキーや値が変化すればこのメソッドが返す値も変化します。
//emlist[例][ruby]{
a = {}
p a.hash #=> 0
a[1] = :x
p a.hash #=> 329543
//}... -
Hash
# rehash -> self (9101.0) -
キーのハッシュ値を再計算します。
...raise RuntimeError Hash#eachなどのイテレータの評価途中でrehashすると発生します。
@return selfを返します。
//emlist[例][ruby]{
a = [ "a", "b" ]
h = { a => 100 }
p h[a] #=> 100
a[0] = "z"
p h[a] #=> nil
h.rehash
p h[a] #=> 100
//}
@see Object#hash... -
Hash
# shift -> [object , object] | nil (9101.0) -
ハッシュからキーが追加された順で先頭の要素をひとつ取り除き、 [key, value]という配列として返します。
...[key, value]という配列として返します。
shiftは破壊的メソッドです。selfは要素を取り除かれた残りのハッシュに変更されます。
ハッシュが空の場合、デフォルト値(Hash#defaultまたはHash#default_procのブロックの値か、どちら......ッシュで
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 v......alue")
p h1 #=> {}
p h1.shift #=> "default value"
h2 = Hash.new {|*arg| arg}
p h2 #=> {}
p h2.shift #=> [{}, nil]
//}
@see Array#shift... -
Hash
# to _ hash -> self (9101.0) -
self を返します。
...self を返します。
//emlist[例][ruby]{
hash = {}
p hash.to_hash # => {}
p hash.to_hash == hash # => true
//}
@see Object#to_hash, Hash#to_h... -
RSS
:: XMLStyleSheetMixin # xml _ stylesheets (9101.0) -
@todo
@todo -
RSS
:: XMLStyleSheetMixin # xml _ stylesheets= (9101.0) -
@todo
@todo