ライブラリ
- ビルトイン (1731)
- abbrev (24)
-
cgi
/ core (24) -
cgi
/ util (12) - cmath (24)
- coverage (24)
- csv (279)
- date (124)
- dbm (12)
- delegate (12)
-
digest
/ sha2 (12) - drb (12)
- erb (8)
- forwardable (48)
- gdbm (12)
-
io
/ console (36) - ipaddr (12)
-
irb
/ cmd / pushws (12) - json (120)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / ostruct (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / symbol (12) -
json
/ add / time (12) - logger (25)
-
minitest
/ unit (1) -
net
/ http (24) -
net
/ pop (12) -
net
/ smtp (12) - objspace (36)
- openssl (336)
- optparse (156)
- ostruct (24)
- pp (24)
- psych (24)
- rake (60)
- rbconfig (12)
-
rdoc
/ generator / darkfish (12) -
rdoc
/ markup / to _ html _ crossref (12) -
rdoc
/ text (24) - readline (24)
- resolv (12)
-
rexml
/ document (24) -
rexml
/ parsers / pullparser (12) -
rinda
/ rinda (36) -
rinda
/ tuplespace (36) - rss (360)
-
rubygems
/ command (48) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ config _ file (12) -
rubygems
/ dependency _ list (12) -
rubygems
/ gem _ openssl (12) -
rubygems
/ installer (12) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ security (12) -
rubygems
/ server (12) -
rubygems
/ source _ index (24) -
rubygems
/ source _ info _ cache (48) -
rubygems
/ source _ info _ cache _ entry (12) -
rubygems
/ specification (12) -
rubygems
/ version (12) - sdbm (12)
- shell (675)
-
shell
/ builtin-command (96) -
shell
/ command-processor (462) -
shell
/ filter (432) -
shell
/ process-controller (102) -
shell
/ system-command (96) - shellwords (120)
- socket (180)
- sync (60)
- thread (6)
- thwait (6)
- timeout (21)
- uri (72)
-
webrick
/ accesslog (12) -
webrick
/ cgi (12) -
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httprequest (24) -
webrick
/ httputils (24) -
win32
/ registry (60) - win32ole (12)
- zlib (60)
クラス
- Array (120)
- BasicSocket (12)
- BigDecimal (12)
- CGI (24)
-
CGI
:: Cookie (12) - CSV (252)
-
CSV
:: Row (15) -
CSV
:: Table (12) - Complex (12)
- Coverage (24)
- DBM (12)
-
DRb
:: DRbServer (12) - Data (6)
- Date (122)
- DateTime (26)
- Delegator (12)
-
Digest
:: SHA2 (12) - ERB (8)
- Encoding (24)
-
Encoding
:: Converter (12) - Exception (12)
- File (12)
- GDBM (12)
-
Gem
:: Command (48) -
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: ConfigFile (12) -
Gem
:: DependencyList (12) -
Gem
:: Installer (12) -
Gem
:: RemoteFetcher (12) -
Gem
:: Server (12) -
Gem
:: SourceIndex (24) -
Gem
:: SourceInfoCache (48) -
Gem
:: SourceInfoCacheEntry (12) -
Gem
:: Specification (12) -
Gem
:: Version (12) - Hash (1071)
- IO (84)
- IPAddr (12)
-
IRB
:: ExtendCommand :: PushWorkspace (12) - Logger (24)
-
Logger
:: Application (1) - MatchData (14)
-
MiniTest
:: Unit (1) -
Net
:: HTTP (12) -
Net
:: POP3 (12) -
Net
:: SMTP (12) - Object (36)
-
OpenSSL
:: ASN1 :: ObjectId (36) -
OpenSSL
:: BN (24) -
OpenSSL
:: Config (12) -
OpenSSL
:: Digest :: SHA (36) -
OpenSSL
:: Digest :: SHA1 (36) -
OpenSSL
:: Digest :: SHA224 (36) -
OpenSSL
:: Digest :: SHA256 (36) -
OpenSSL
:: Digest :: SHA384 (36) -
OpenSSL
:: Digest :: SHA512 (36) -
OpenSSL
:: SSL :: SSLContext (12) -
OpenSSL
:: SSL :: SSLServer (12) -
OpenSSL
:: X509 :: ExtensionFactory (12) - OpenStruct (36)
- OptionParser (144)
- PP (24)
-
Psych
:: Visitors :: YAMLTree (24) -
RDoc
:: Generator :: Darkfish (12) -
RDoc
:: Markup :: ToHtmlCrossref (12) -
RDoc
:: Options (12) -
REXML
:: Parent (24) -
REXML
:: Parsers :: PullParser (12) -
RSS
:: Maker :: RSSBase (12) -
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet (144) -
RSS
:: XMLStyleSheet (144) -
Rake
:: TaskArguments (24) - Random (12)
- Range (12)
- Rational (24)
- Regexp (12)
-
Resolv
:: DNS :: Resource :: SOA (12) -
Rinda
:: TupleSpace (36) -
Rinda
:: TupleSpaceProxy (36) -
RubyVM
:: InstructionSequence (12) - SDBM (12)
- Shell (675)
-
Shell
:: AppendFile (12) -
Shell
:: AppendIO (12) -
Shell
:: BuiltInCommand (12) -
Shell
:: Cat (12) -
Shell
:: CommandProcessor (462) -
Shell
:: Concat (12) -
Shell
:: Echo (12) -
Shell
:: Filter (432) -
Shell
:: Glob (12) -
Shell
:: ProcessController (102) -
Shell
:: SystemCommand (96) -
Shell
:: Tee (12) - Socket (84)
- String (84)
- Struct (18)
- Symbol (12)
- Thread (12)
-
Thread
:: Queue (12) -
Thread
:: SizedQueue (24) - Time (26)
-
URI
:: FTP (12) -
URI
:: Generic (24) -
URI
:: HTTP (12) -
URI
:: LDAP (12) -
URI
:: MailTo (12) -
WEBrick
:: CGI (12) -
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htgroup (12) -
WEBrick
:: HTTPAuth :: Htpasswd (12) -
WEBrick
:: HTTPRequest (24) - WIN32OLE (12)
-
Win32
:: Registry (12) -
Zlib
:: Deflate (36) -
Zlib
:: GzipWriter (12) -
Zlib
:: ZStream (12)
モジュール
- Abbrev (12)
-
CGI
:: QueryExtension (12) - CMath (24)
- DublinCoreModel (36)
- Enumerable (27)
- FileUtils (24)
- Forwardable (24)
- GC (36)
-
GC
:: Profiler (12) -
Gem
:: SSL (12) -
Gem
:: Security (12) -
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 :: String :: Extend (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (72)
- Marshal (48)
- Math (24)
-
Net
:: HTTPHeader (12) - ObjectSpace (48)
-
OpenSSL
:: PKCS5 (12) -
OptionParser
:: Arguable (12) -
RDoc
:: Text (24) -
RSS
:: XMLStyleSheetMixin (24) - RbConfig (12)
- Shellwords (84)
- Signal (12)
- SingleForwardable (24)
-
Socket
:: Constants (84) -
Sync
_ m (60) - Timeout (21)
-
WEBrick
:: AccessLog (12) -
WEBrick
:: HTTPUtils (24) -
Win32
:: Registry :: API (24) -
Win32
:: Registry :: Constants (24)
オブジェクト
- ENV (23)
-
Readline
:: HISTORY (24)
キーワード
- < (16)
- <= (10)
- == (12)
- === (12)
- > (16)
- >= (10)
- >> (6)
- CONFIG (12)
-
DIGEST
_ SHA1 (12) - ErrNoFinishedThread (6)
- FlushKey (12)
- Hash (12)
-
IP
_ ADD _ MEMBERSHIP (24) -
IP
_ ADD _ SOURCE _ MEMBERSHIP (24) -
IP
_ DROP _ MEMBERSHIP (24) -
IP
_ DROP _ SOURCE _ MEMBERSHIP (24) -
IP
_ MAX _ MEMBERSHIPS (24) - MACTURKISH (12)
-
MARSHAL
_ FIELDS (12) -
MSG
_ FLUSH (24) - MacTurkish (12)
- Marshal (12)
- Marshal フォーマット (12)
- NUM2SHORT (12)
- NUM2USHORT (12)
-
REG
_ NO _ LAZY _ FLUSH (12) -
REG
_ REFRESH _ HIVE (12) - RegFlushKey (12)
-
TCP
_ NOPUSH (24) -
USING
_ AT _ EXIT _ WHEN _ PROCESS _ EXIT (6) - [] (54)
- []= (24)
-
_ httpdate (12) -
_ iso8601 (12) -
_ jisx0301 (12) -
_ parse (12) -
_ rfc2822 (12) -
_ rfc3339 (12) -
_ rfc822 (12) -
_ strptime (24) -
_ xmlschema (12) - abbrev (24)
- acosh (18)
- acosh! (6)
- activate (6)
- active? (12)
-
active
_ job? (6) -
active
_ process _ controllers (6) -
add
_ delegate _ command _ to _ shell (6) -
add
_ schedule (6) -
add
_ specs (12) -
alias
_ command (18) - alternate (24)
- alternate= (24)
- append (18)
- assoc (12)
- atime (18)
- attributes (12)
- basename (18)
- begins? (12)
-
block
_ output _ synchronize (6) - blockdev? (18)
- build (60)
- build2 (12)
-
build
_ self _ signed _ cert (12) -
bulk
_ threshold= (12) - cascade (6)
- cascade= (6)
- cat (18)
- cd (12)
- chardev? (18)
- charset (24)
- charset= (24)
- chdir (6)
-
check
_ point (18) - chmod (18)
- chown (18)
- clone (12)
-
close
_ read (12) -
close
_ write (12) - closed? (12)
- command (6)
-
command
_ processor (6) - compact (15)
- compact! (9)
-
compare
_ by _ identity (12) -
compare
_ by _ identity? (12) -
compile
_ option (12) - concat (18)
- config (24)
- cosh (18)
- cosh! (6)
-
count
_ nodes (12) -
count
_ objects (12) -
count
_ objects _ size (12) -
count
_ tdata _ objects (12) -
create
_ ext _ from _ hash (12) - ctime (18)
-
dc
_ publisher (12) -
dc
_ publisher= (12) -
dc
_ publishers (12) - debug (12)
- debug= (12)
- debug? (12)
-
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ lock (6) -
debug
_ output _ locked? (6) -
debug
_ output _ synchronize (6) -
debug
_ output _ try _ lock (6) -
debug
_ output _ unlock (6) -
deconstruct
_ keys (20) -
def
_ builtin _ commands (6) -
def
_ system _ command (12) - default (24)
- default= (12)
-
default
_ proc (12) -
default
_ proc= (12) -
default
_ record _ separator (6) -
default
_ record _ separator= (6) -
default
_ system _ path (6) -
default
_ system _ path= (6) - defaults= (12)
- deflate (12)
- delegate (24)
- delete (42)
-
delete
_ if (24) - dig (10)
- digest (72)
-
dir
_ stack (6) - directory? (18)
- dirname (18)
- dirs (6)
- dump (24)
- dup (12)
- each (78)
-
each
_ active _ object (6) -
each
_ key (24) -
each
_ pair (24) -
each
_ value (24) - echo (18)
- eql? (12)
- equal? (12)
- escape (12)
- except (8)
- executable? (18)
-
executable
_ real? (18) - execute (12)
- exist? (18)
- exists? (18)
- fetch (48)
-
fetch
_ path (12) -
fetch
_ values (20) - file? (18)
- filter (50)
- filter! (14)
-
find
_ gems (12) -
find
_ system _ command (18) - finish (84)
-
finish
_ all _ jobs (18) - flatten (12)
- flock (12)
- flush (90)
-
flush
_ left (12) -
flush
_ sessions (12) - foreach (42)
- ftype (18)
- generate (12)
-
generate
_ line (12) - getopts (60)
- glob (18)
- grpowned? (18)
- gsub (12)
- gsub! (12)
-
handle
_ interrupt (12) -
has
_ key? (12) -
has
_ value? (12) - hash (63)
- hexdigest (72)
- href (24)
- href= (24)
- identical? (18)
- iflush (12)
- inactivate (6)
- include? (12)
- index (7)
- initialize (18)
- input= (24)
- inspect (6)
-
install
_ system _ commands (12) - instance (24)
-
instance
_ delegate (12) - invert (12)
- ioflush (12)
- join (30)
-
json
_ create (156) -
keep
_ if (24) - key (12)
- key? (12)
- keys (12)
- kill (12)
-
kill
_ job (6) -
latest
_ gc _ info (12) - link (18)
- list (12)
- load (12)
-
load
_ mime _ types (12) - lock (6)
- lshift! (12)
- lstat (18)
-
marshal
_ dump (12) -
marshal
_ load (48) - media (24)
- media= (24)
- member? (12)
- merge (24)
- merge! (24)
-
method
_ added (6) - mkdir (18)
- modifiable (12)
- mtime (18)
- name (6)
-
named
_ captures (12) - new (234)
- notify (36)
- oflush (12)
-
ole
_ show _ help (12) - on (96)
- open (66)
- out (18)
- owned? (18)
- params= (12)
- parse (48)
-
parse
_ header (12) -
parse
_ line (12) -
pbkdf2
_ hmac _ sha1 (12) -
peek
_ result (12) - pipe? (18)
- pretty (12)
-
process
_ args (1) -
process
_ controller (6) -
process
_ controllers _ exclusive (6) - push (84)
- pushd (6)
- pushdir (6)
- rassoc (12)
-
raw
_ data (12) - read (36)
-
read
_ all (24) -
read
_ cache _ data (12) - readable? (18)
-
readable
_ real? (18) - readlines (12)
- readlink (18)
-
record
_ separator (6) -
record
_ separator= (6) - refresh (24)
- refresh! (12)
- register (12)
- rehash (12)
- reject (60)
- reject! (24)
- rename (18)
- replace (24)
-
reset
_ cache _ for (12) - restore (12)
- result (12)
-
result
_ with _ hash (8) - rm (18)
- rmdir (18)
- rshift! (12)
- ruby (12)
-
ruby2
_ keywords _ hash? (6) - rule (12)
- select (24)
- select! (24)
-
set
_ cache _ data (12) -
set
_ log (1) - setgid? (18)
- setuid? (18)
-
setup
_ params (12) -
sev
_ threshold= (12) - sfork (6)
-
sharing
_ detection (12) -
sharing
_ detection= (12) - shebang (12)
- shell (6)
- shellescape (24)
- shelljoin (24)
- shellsplit (24)
- shellwords (12)
- shift (84)
-
short
_ name (12) -
show
_ all= (12) -
show
_ lookup _ failure (12) - shuffle (24)
- shuffle! (24)
- shutdown (24)
-
single
_ delegate (12) - size (18)
- size? (18)
- slice (15)
- sn (12)
- socket? (18)
- spawn (48)
-
spec
_ predecessors (12) - split (30)
- start (6)
-
start
_ export (6) -
start
_ import (6) -
start
_ job (6) - stat (30)
- sticky? (18)
- store (12)
-
strip
_ hashes (12) - sub (12)
- sub! (12)
-
super
_ each (6) - symlink (18)
- symlink? (18)
-
sync
_ lock (6) -
sync
_ sh _ locker (6) -
sync
_ sh _ locker= (6) -
sync
_ synchronize (6) -
sync
_ try _ lock (6) -
sync
_ unlock (6) - synchronize (6)
- system (18)
-
system
_ path (6) -
system
_ path= (6) - table (12)
- take (24)
- tally (8)
- tee (18)
- terminate (6)
-
terminate
_ job (6) - test (18)
- timeout (21)
- title (24)
- title= (24)
-
to
_ a (12) -
to
_ h (33) -
to
_ hash (12) -
to
_ json (108) -
transform
_ keys (20) -
transform
_ keys! (20) -
transform
_ values (18) -
transform
_ values! (18) - truncate (18)
-
try
_ lock (6) - type (24)
- type= (24)
- umask (6)
- umask= (6)
-
unalias
_ command (12) -
undef
_ system _ command (12) - unlink (18)
- unlock (6)
- unshift (36)
- update (24)
- utime (18)
- value? (12)
- values (12)
-
values
_ at (12) - verbose (12)
- verbose= (12)
- verbose? (12)
-
verify
_ compaction _ references (6) - wait? (12)
-
wait
_ to _ finish _ all _ process _ controllers (6) -
waiting
_ job? (6) -
with
_ defaults (12) -
world
_ readable? (18) -
world
_ writable? (18) - writable? (18)
-
writable
_ real? (18) -
xml
_ stylesheets (24) -
xml
_ stylesheets= (12) - zero? (18)
- | (6)
- 多言語化 (12)
検索結果
先頭5件
-
FileUtils
# sh(*cmd) {|result , status| . . . } (18131.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.exitstatus})"
end
end
@see Kernel.#exec, Kernel.#system... -
Shell
:: ProcessController # shell -> Shell (9216.0) -
@todo
...@todo... -
Hash
. ruby2 _ keywords _ hash?(hash) -> bool (9206.0) -
Module#ruby2_keywordsやProc#ruby2_keywordsによる ruby2_keywords フラグが設定されているかどうかを返します。
...れていません。
ruby 2.7.1 で追加されたため、ruby 2.7.0 では定義されていません。
//emlist[][ruby]{
ruby2_keywords def foo(*args)
Hash.ruby2_keywords_hash?(args.last)
end
foo(k: 1) # => true
foo({k: 1}) # => false
//}
@see Module#ruby2_keywords, Proc#ruby2_keywords... -
Shell
# pushd(path = nil , &block) -> object (9172.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 (9172.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
:: CommandProcessor . add _ delegate _ command _ to _ shell(id) (9122.0) -
@todo
...@todo
Shell 自体を初期化する時に呼び出されるメソッドです。
ユーザが使用することはありません。
@param id メソッド名を指定します。... -
Hash
# rehash -> self (9118.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 Obje... -
Shellwords
. # shellsplit(line) -> [String] (9118.0) -
Bourne シェルの単語分割規則に従った空白区切りの単語分割を行い、 単語 (文字列) の配列を返します。
...ブルクォート (")、バックスラッシュ (\)
を解釈します。
@param line 分割の対象となる文字列を指定します。
@return 分割結果の各文字列を要素とする配列を返します。
@raise ArgumentError 引数の中に対でないシングルクォートまた......ォートが現れた場合に発生します。
例:
require 'shellwords'
p Shellwords.shellwords(%q{ foo bar "foo bar"\ baz 'foo bar' })
# => ["foo", "bar", "foo bar baz", "foo bar"]
p Shellwords.shellwords(%q{ A B C "D E F" "G","H I" })
# => ["A", "B", "C", "D... -
Shellwords
. # shellwords(line) -> [String] (9118.0) -
Bourne シェルの単語分割規則に従った空白区切りの単語分割を行い、 単語 (文字列) の配列を返します。
...ブルクォート (")、バックスラッシュ (\)
を解釈します。
@param line 分割の対象となる文字列を指定します。
@return 分割結果の各文字列を要素とする配列を返します。
@raise ArgumentError 引数の中に対でないシングルクォートまた......ォートが現れた場合に発生します。
例:
require 'shellwords'
p Shellwords.shellwords(%q{ foo bar "foo bar"\ baz 'foo bar' })
# => ["foo", "bar", "foo bar baz", "foo bar"]
p Shellwords.shellwords(%q{ A B C "D E F" "G","H I" })
# => ["A", "B", "C", "D... -
RSS
:: XMLStyleSheetMixin # xml _ stylesheets (9116.0) -
@todo
...@todo... -
RSS
:: XMLStyleSheetMixin # xml _ stylesheets= (9116.0) -
@todo
...@todo...