2310件ヒット
[1-100件を表示]
(0.131秒)
ライブラリ
- ビルトイン (905)
-
cgi
/ core (48) -
cgi
/ session (12) - csv (39)
- date (4)
- dbm (12)
- delegate (12)
- erb (8)
- gdbm (12)
-
io
/ console (36) -
irb
/ cmd / pushws (12) - json (24)
-
minitest
/ unit (1) - open-uri (12)
- openssl (36)
- optparse (12)
- ostruct (31)
- prettyprint (12)
- psych (12)
- rake (72)
-
rdoc
/ text (12) - resolv (12)
-
rexml
/ document (24) -
rexml
/ parsers / pullparser (12) -
rinda
/ rinda (36) -
rinda
/ tuplespace (48) - rss (36)
- rubygems (24)
-
rubygems
/ command (36) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ config _ file (36) -
rubygems
/ package / tar _ writer (12) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ server (12) -
rubygems
/ source _ index (36) -
rubygems
/ source _ info _ cache (84) -
rubygems
/ source _ info _ cache _ entry (12) -
rubygems
/ version (12) - sdbm (12)
- shell (96)
-
shell
/ builtin-command (24) -
shell
/ command-processor (54) -
shell
/ filter (66) -
shell
/ process-controller (12) -
shell
/ system-command (18) - socket (12)
- stringio (12)
- sync (12)
- thread (8)
-
webrick
/ httpauth / htdigest (24) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (24) -
webrick
/ httprequest (48) -
webrick
/ server (12) -
win32
/ registry (12) - zlib (60)
クラス
- Array (72)
- BasicSocket (12)
- Bignum (3)
-
CGI
:: Session :: NullStore (12) - CSV (12)
-
CSV
:: Row (15) -
CSV
:: Table (12) - Complex (12)
- DBM (12)
- Data (6)
- Date (2)
- DateTime (2)
- Delegator (12)
- ERB (8)
-
Encoding
:: Converter (12) -
Enumerator
:: ArithmeticSequence (7) - GDBM (12)
-
Gem
:: Command (36) -
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: ConfigFile (36) -
Gem
:: Package :: TarWriter (12) -
Gem
:: RemoteFetcher (12) -
Gem
:: Server (12) -
Gem
:: SourceIndex (36) -
Gem
:: SourceInfoCache (84) -
Gem
:: SourceInfoCacheEntry (12) -
Gem
:: Version (12) - Hash (551)
- IO (48)
-
IRB
:: ExtendCommand :: PushWorkspace (12) - MatchData (14)
-
MiniTest
:: Unit (1) - Object (12)
-
OpenSSL
:: SSL :: SSLContext (12) -
OpenSSL
:: SSL :: SSLServer (12) - OpenStruct (31)
- PrettyPrint (12)
-
Psych
:: Visitors :: YAMLTree (12) -
REXML
:: Parent (24) -
REXML
:: Parsers :: PullParser (12) -
Rake
:: TaskArguments (36) - Random (12)
- Rational (12)
-
Resolv
:: DNS :: Resource :: SOA (12) -
Rinda
:: TupleEntry (12) -
Rinda
:: TupleSpace (36) -
Rinda
:: TupleSpaceProxy (36) - SDBM (12)
- Shell (96)
-
Shell
:: AppendFile (6) -
Shell
:: AppendIO (6) -
Shell
:: BuiltInCommand (12) -
Shell
:: CommandProcessor (54) -
Shell
:: Filter (66) -
Shell
:: ProcessController (12) -
Shell
:: SystemCommand (18) - String (48)
- StringIO (12)
- Struct (37)
-
Thread
:: Queue (24) -
Thread
:: SizedQueue (24) - Time (2)
- UnboundMethod (12)
-
WEBrick
:: GenericServer (12) -
WEBrick
:: HTTPAuth :: Htdigest (24) -
WEBrick
:: HTTPAuth :: Htgroup (12) -
WEBrick
:: HTTPAuth :: Htpasswd (24) -
WEBrick
:: HTTPRequest (48) -
Win32
:: Registry (12) -
Zlib
:: Deflate (24) -
Zlib
:: GzipWriter (12) -
Zlib
:: ZStream (24)
モジュール
-
CGI
:: QueryExtension (48) - DublinCoreModel (36)
- Enumerable (41)
- FileUtils (24)
-
Gem
:: LocalRemoteOptions (12) -
Gem
:: QuickLoader (24) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (12)
-
OpenSSL
:: Buffering (12) -
OpenURI
:: Meta (12) -
OptionParser
:: Arguable (12) -
RDoc
:: Text (12) -
Sync
_ m (12)
キーワード
- Marshal (12)
- []= (12)
- active? (6)
-
add
_ bulk _ threshold _ option (12) -
add
_ schedule (6) -
add
_ specs (12) - attributes (12)
- basename (18)
-
bulk
_ threshold (12) -
bulk
_ threshold= (12) -
cache
_ data (12) - chown (18)
-
dc
_ publisher (12) -
dc
_ publisher= (12) -
dc
_ publishers (12) - debug (6)
- debug= (6)
- debug? (6)
-
deconstruct
_ keys (20) - default (24)
- default= (12)
-
default
_ proc (12) -
default
_ proc= (12) - defaults (12)
- defaults= (12)
- deflate (12)
-
delete
_ if (24) - dup (12)
- each (84)
-
each
_ key (12) -
each
_ pair (24) -
each
_ value (24) - equal? (12)
- executable? (18)
-
executable
_ real? (18) - execute (12)
- fetch (12)
-
fetch
_ path (12) -
fetch
_ values (20) - files (12)
- filter (14)
- filter! (14)
-
find
_ gems (12) - finish (12)
- flush (162)
-
flush
_ left (12) -
flush
_ next _ in (12) -
flush
_ next _ out (12) -
flush
_ sessions (12) - getopts (12)
-
group
_ by (12) - gsub (12)
- gsub! (12)
-
has
_ value? (12) - hash (46)
- header (12)
- iflush (12)
- include? (12)
- input (6)
- input= (24)
- ioflush (12)
-
keep
_ if (24) -
latest
_ cache _ data (12) -
marshal
_ dump (72) - modifiable (12)
-
named
_ captures (12) - oflush (12)
- out (18)
- params (12)
- params= (12)
-
process
_ args (1) - push (84)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (12) -
push
_ gem _ version _ on _ load _ path (12) - pushd (6)
- pushdir (6)
- query (12)
- rassoc (12)
- read (24)
-
read
_ all (24) -
read
_ cache _ data (12) - refresh (36)
- refresh! (12)
- reject (60)
- reject! (24)
-
reset
_ cache _ for (12) - restore (12)
-
result
_ with _ hash (8) - ruby (12)
- rule (12)
- select (24)
- select! (24)
-
set
_ cache _ data (12) - setuid? (18)
- shift (24)
-
show
_ lookup _ failure (12) - shuffle (24)
- shuffle! (24)
- shutdown (36)
- store (12)
- sub (12)
- sub! (12)
-
super
_ each (6) -
sync
_ unlock (6) - take (24)
- tally (10)
-
to
_ h (55) -
to
_ hash (12) -
to
_ json (24) -
transform
_ keys (8) -
transform
_ keys! (8) -
transform
_ values (18) -
transform
_ values! (18) - truncate (18)
- umask (6)
- umask= (6)
- unlink (18)
- unlock (6)
- unshift (36)
- update (24)
- utime (18)
- value (12)
- value? (12)
- values (12)
-
values
_ at (12) - wait? (6)
-
wait
_ all _ jobs _ execution (6) -
with
_ defaults (12)
検索結果
先頭5件
-
FileUtils
# sh(*cmd) {|result , status| . . . } (21220.0) -
与えられたコマンドを実行します。
...el.#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, Kerne... -
Shell
# pushd(path = nil , &block) -> object (15261.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 (15261.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"... -
DublinCoreModel
# dc _ publisher (15201.0) -
@todo
@todo -
DublinCoreModel
# dc _ publisher= (15201.0) -
@todo
@todo -
DublinCoreModel
# dc _ publishers (15201.0) -
@todo
@todo -
Shell
:: SystemCommand # flush -> () (15201.0) -
@todo
@todo -
Zlib
:: Deflate # flush(flush = Zlib :: SYNC _ FLUSH) -> String (12607.0) -
deflate('', flush) と同じです。flush が 省略された時は Zlib::SYNC_FLUSH が使用されます。 このメソッドはスクリプトの可読性のために提供されています。
...te('', flush) と同じです。flush が
省略された時は Zlib::SYNC_FLUSH が使用されます。
このメソッドはスクリプトの可読性のために提供されています。
@param flush Zlib::NO_FLUSH Zlib::SYNC_FLUSH Zlib::FULL_FLUSH などを指定します。
require 'zli......(' fuga')
comp_str << dez.deflate(' end', Zlib::FINISH)
dez.close
p comp_str
p Zlib::Inflate.inflate(comp_str)
end
def case2
dez = Zlib::Deflate.new
comp_str = dez.deflate('hoge')
comp_str << dez.flush
comp_str << dez.deflate(' fuga')
comp_str << dez.flush......FINISH)
dez.close
p comp_str
p Zlib::Inflate.inflate(comp_str)
end
case1
case2
#=> "x\234\313\310OOUH+MOTH\315K\001\000!\251\004\276"
#=> "hoge fuga end"
#=> "x\234\312\310OO\005\000\000\000\377\377RH+MO\004\000\000\000\377\377SH\315K\001\000!\251\004\276"
#=> "hoge fuga e... -
Zlib
:: GzipWriter # flush(flush = Zlib :: SYNC _ FLUSH) -> self (12601.0) -
まだ書き出されていないデータをフラッシュします。
...ます。
flush は Zlib::Deflate#deflate と同じです。
省略時は Zlib::SYNC_FLUSH が使用されます。
flush に Zlib::NO_FLUSH を指定することは無意味です。
@param flush Zlib::NO_FLUSH Zlib::SYNC_FLUSH Zlib::FULL_FLUSH などを指定します。
require 'zlib'
de......z|
gz.puts "fuga"
gz.puts "ugo"
}
p File.read(filename)
end
def case2
filename='hoge1.gz'
fw = File.open(filename, "w")
Zlib::GzipWriter.wrap(fw, Zlib::BEST_COMPRESSION){|gz|
gz.puts "fuga"
gz.flush
gz.puts "ugo\n"
gz.flush
}
p... -
BasicSocket
# shutdown(how = Socket :: SHUT _ RDWR) -> 0 (12401.0) -
ソケットの以降の接続を終了させます。
...Socket::SHUT_RD: それ以降の受信が拒否されます
* Socket::SHUT_WR: それ以降の送信が拒否されます
* Socket::SHUT_RDWR: それ以降の送信、受信ともに拒否されます
how を省略すると Socket::SHUT_RDWR を指定したことになります。
shutdown(2)......Socket::SHUT_RD, Socket::SHUT_WR, Socket::SHUT_RDWR などで指定します。
@raise Errno::EXXX ソケットの以降の接続を終了操作が失敗した場合に発生します。
@raise ArgumentError how に範囲外の整数を入力した場合に発生します。
@raise SecurityError...