7175件ヒット
[1-100件を表示]
(0.136秒)
種類
ライブラリ
- ビルトイン (1164)
- abbrev (22)
- bigdecimal (11)
-
cgi
/ core (77) -
cgi
/ session (33) -
cgi
/ session / pstore (11) -
cgi
/ util (22) - csv (253)
- date (44)
- dbm (22)
-
digest
/ sha1 (11) -
digest
/ sha2 (77) - drb (11)
- erb (7)
- etc (55)
- fiddle (33)
- fileutils (11)
- forwardable (33)
- gdbm (22)
-
io
/ console (33) - ipaddr (11)
- irb (11)
-
irb
/ cmd / pushws (22) - json (121)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / date _ time (11) -
json
/ add / exception (11) -
json
/ add / rational (11) -
json
/ add / time (11) - logger (34)
- matrix (22)
-
minitest
/ unit (1) - mkmf (11)
-
net
/ http (22) -
net
/ pop (22) -
net
/ smtp (11) - objspace (33)
- open-uri (11)
- openssl (407)
- optparse (143)
- ostruct (33)
- pathname (11)
- pp (22)
- prettyprint (11)
- pstore (22)
- psych (55)
- rake (33)
- rbconfig (22)
-
rbconfig
/ sizeof (22) -
rdoc
/ generator / darkfish (55) -
rdoc
/ text (22) - readline (22)
- resolv (22)
-
rexml
/ document (11) -
rexml
/ parsers / pullparser (11) -
rinda
/ rinda (44) -
rinda
/ tuplespace (44) - rss (154)
- rubygems (66)
-
rubygems
/ command (55) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ config _ file (55) -
rubygems
/ dependency _ installer (11) -
rubygems
/ dependency _ list (11) -
rubygems
/ gem _ openssl (11) -
rubygems
/ installer (11) -
rubygems
/ package / tar _ writer (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ requirement (11) -
rubygems
/ security (33) -
rubygems
/ source _ index (33) -
rubygems
/ source _ info _ cache (88) -
rubygems
/ source _ info _ cache _ entry (11) -
rubygems
/ specification (22) -
rubygems
/ version (22) - sdbm (22)
- set (11)
- shell (519)
-
shell
/ builtin-command (120) -
shell
/ command-processor (432) -
shell
/ error (12) -
shell
/ filter (480) -
shell
/ process-controller (120) -
shell
/ system-command (66) - shellwords (110)
- socket (253)
- stringio (11)
- sync (12)
- thread (6)
- thwait (12)
- timeout (19)
- uri (66)
-
webrick
/ accesslog (11) -
webrick
/ cgi (11) -
webrick
/ config (33) -
webrick
/ httpauth / htdigest (22) -
webrick
/ httpauth / htgroup (11) -
webrick
/ httpauth / htpasswd (22) -
webrick
/ httprequest (44) -
webrick
/ httpresponse (22) -
webrick
/ https (11) -
webrick
/ httpservlet / filehandler (11) -
webrick
/ httputils (33) -
webrick
/ server (22) -
webrick
/ ssl (22) -
win32
/ registry (55) - win32ole (11)
-
yaml
/ dbm (11) - zlib (176)
クラス
- Array (66)
- BasicSocket (11)
- BigDecimal (22)
- Bignum (3)
- CGI (55)
-
CGI
:: Cookie (11) -
CGI
:: Session :: FileStore (11) -
CGI
:: Session :: MemoryStore (11) -
CGI
:: Session :: NullStore (11) -
CGI
:: Session :: PStore (11) - CSV (231)
-
CSV
:: Table (22) - Complex (11)
- DBM (22)
-
DRb
:: DRbServer (11) - Data (4)
- Date (33)
- DateTime (22)
-
Digest
:: SHA2 (33) - ERB (7)
- Encoding (55)
-
Encoding
:: Converter (11) -
Enumerator
:: ArithmeticSequence (6) -
Etc
:: Passwd (11) - Exception (11)
- File (11)
- Float (11)
- GDBM (22)
-
Gem
:: Command (55) -
Gem
:: Commands :: DependencyCommand (11) -
Gem
:: ConfigFile (55) -
Gem
:: DependencyInstaller (11) -
Gem
:: DependencyList (11) -
Gem
:: Installer (11) -
Gem
:: Package :: TarWriter (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: Requirement (11) -
Gem
:: SourceIndex (33) -
Gem
:: SourceInfoCache (88) -
Gem
:: SourceInfoCacheEntry (11) -
Gem
:: Specification (22) -
Gem
:: Version (22) - Hash (481)
- IO (77)
- IPAddr (11)
-
IRB
:: ExtendCommand :: PushWorkspace (11) - Logger (22)
-
Logger
:: Application (1) - MatchData (11)
- Matrix (11)
- Method (11)
-
MiniTest
:: Unit (1) -
Net
:: HTTP (11) -
Net
:: POP3 (22) -
Net
:: SMTP (11) - Object (22)
-
OpenSSL
:: ASN1 :: ObjectId (33) -
OpenSSL
:: BN (22) -
OpenSSL
:: Config (11) -
OpenSSL
:: Digest :: SHA (33) -
OpenSSL
:: Digest :: SHA1 (33) -
OpenSSL
:: Digest :: SHA224 (33) -
OpenSSL
:: Digest :: SHA256 (33) -
OpenSSL
:: Digest :: SHA384 (33) -
OpenSSL
:: Digest :: SHA512 (33) -
OpenSSL
:: Engine (11) -
OpenSSL
:: SSL :: SSLContext (11) -
OpenSSL
:: X509 :: Extension (11) -
OpenSSL
:: X509 :: ExtensionFactory (11) -
OpenSSL
:: X509 :: Name (11) - OpenStruct (33)
- OptionParser (132)
- PP (22)
- PStore (22)
- Pathname (11)
- PrettyPrint (11)
- Proc (11)
-
Psych
:: Stream (11) -
Psych
:: Visitors :: YAMLTree (44) -
RDoc
:: Generator :: Darkfish (44) -
RDoc
:: Options (44) -
REXML
:: Parent (11) -
REXML
:: Parsers :: PullParser (11) -
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet (44) -
RSS
:: XMLStyleSheet (44) -
Rake
:: TaskArguments (11) - Range (11)
- Rational (33)
- Regexp (11)
-
Resolv
:: DNS :: Resource :: SOA (22) -
Rinda
:: TupleEntry (11) -
Rinda
:: TupleSpace (33) -
Rinda
:: TupleSpaceProxy (33) -
RubyVM
:: InstructionSequence (11) - SDBM (22)
- Set (11)
- Shell (519)
-
Shell
:: AppendFile (12) -
Shell
:: AppendIO (12) -
Shell
:: BuiltInCommand (12) -
Shell
:: Cat (12) -
Shell
:: CommandProcessor (432) -
Shell
:: Concat (6) -
Shell
:: Echo (12) -
Shell
:: Filter (474) -
Shell
:: Glob (6) -
Shell
:: ProcessController (120) -
Shell
:: SystemCommand (66) -
Shell
:: Tee (12) -
Shell
:: Void (12) - Socket (121)
- String (77)
- StringIO (11)
- Struct (11)
- Thread (11)
-
Thread
:: Queue (11) -
Thread
:: SizedQueue (22) - ThreadsWait (6)
- Time (22)
-
URI
:: FTP (11) -
URI
:: Generic (22) -
URI
:: HTTP (11) -
URI
:: LDAP (11) -
URI
:: MailTo (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) -
WEBrick
:: HTTPServlet :: FileHandler (11) - WIN32OLE (11)
-
Win32
:: Registry (11) -
YAML
:: DBM (11) -
Zlib
:: Deflate (33) -
Zlib
:: GzipFile (11) -
Zlib
:: GzipWriter (22) -
Zlib
:: Inflate (11) -
Zlib
:: ZStream (55)
モジュール
- Abbrev (11)
-
CGI
:: QueryExtension (44) - DublinCoreModel (33)
- Enumerable (28)
- Etc (44)
- Fiddle (33)
-
File
:: Constants (20) - FileUtils (33)
- Forwardable (11)
- GC (27)
-
GC
:: Profiler (11) - Gem (22)
-
Gem
:: LocalRemoteOptions (11) -
Gem
:: QuickLoader (44) -
Gem
:: SSL (11) -
Gem
:: Security (33) - IRB (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 :: String :: Extend (11) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (55)
- Marshal (66)
-
Net
:: HTTPHeader (11) - ObjectSpace (33)
-
OpenSSL
:: Buffering (11) -
OpenSSL
:: PKCS5 (11) -
OpenURI
:: Meta (11) -
OptionParser
:: Arguable (11) -
RDoc
:: Text (22) -
RSS
:: XMLStyleSheetMixin (22) - RbConfig (44)
- Shellwords (77)
- Signal (11)
- SingleForwardable (22)
-
Socket
:: Constants (121) -
Sync
_ m (12) - Timeout (19)
-
WEBrick
:: AccessLog (11) -
WEBrick
:: Config (66) -
WEBrick
:: HTTPUtils (33) -
Win32
:: Registry :: API (22) -
Win32
:: Registry :: Constants (22) - Zlib (44)
オブジェクト
- ENV (51)
-
Readline
:: HISTORY (22)
キーワード
- + (6)
- < (6)
- > (6)
- >> (6)
-
ALIGN
_ SHORT (11) - AppendFile (6)
- AppendIO (6)
- BasicAuth (11)
- BuiltInCommand (6)
- CONFIG (22)
- CantDefine (6)
- ConfigMap (11)
-
DEFAULT
_ BULK _ THRESHOLD (11) -
DEFAULT
_ OPTIONS (22) -
DIGEST
_ SHA1 (11) - DOSISH 対応 (11)
- Darkfish (11)
- DefaultMimeTypes (11)
- DigestAuth (11)
- DirStackEmpty (6)
-
EMPTY
_ MARSHAL _ CHECKSUM (11) -
EMPTY
_ MARSHAL _ DATA (11) - English (11)
- ErrNoFinishedThread (6)
- FINISH (11)
-
FULL
_ FLUSH (11) - FileHandler (11)
- Filter (6)
- FlushKey (11)
-
GENERATOR
_ DIR (11) - GemPaths (11)
- GemVersions (11)
- General (11)
- HTTP (11)
-
HTTP
_ STATUS (11) - HandlerTable (11)
-
IFF
_ TX _ SKB _ SHARING (22) -
IP
_ ADD _ MEMBERSHIP (22) -
IP
_ ADD _ SOURCE _ MEMBERSHIP (22) -
IP
_ DROP _ MEMBERSHIP (22) -
IP
_ DROP _ SOURCE _ MEMBERSHIP (22) -
IP
_ MAX _ MEMBERSHIPS (22) - InvalidHashTupleKey (11)
- LIMITS (11)
-
LOCK
_ SH (11) - MACTURKISH (11)
-
MAJOR
_ VERSION (11) -
MAKEFILE
_ CONFIG (11) -
MARSHAL
_ FIELDS (11) -
MINOR
_ VERSION (11) -
MSG
_ FLUSH (22) - MacTurkish (11)
- Marshal フォーマット (11)
-
NO
_ FLUSH (11) - NUM2USHORT (11)
- NoDelegateMethods (6)
- OPS (11)
- OPT (11)
-
OPT
_ TABLE (11) -
PATH
_ SEPARATOR (11) - Policies (11)
- PushWorkspace (11)
-
REG
_ NO _ LAZY _ FLUSH (11) -
REG
_ REFRESH _ HIVE (11) - RegFlushKey (11)
- Rubyの起動 (11)
-
SCRIPT
_ LINES _ _ (11) -
SC
_ SHARED _ MEMORY _ OBJECTS (11) -
SC
_ SHELL (11) -
SC
_ THREAD _ PROCESS _ SHARED (11) -
SC
_ XOPEN _ SHM (11) - SHA (11)
- SHA1 (22)
- SHA2 (11)
- SHA224 (11)
- SHA256 (22)
- SHA384 (22)
- SHA512 (22)
-
SHARE
_ DELETE (9) -
SHIFT
_ JIS (11) -
SHUT
_ RD (22) -
SHUT
_ RDWR (22) -
SHUT
_ WR (22) - SIZEOF (11)
-
SIZEOF
_ SHORT (11) -
SPECIFICATION
_ VERSION _ HISTORY (11) - SSL (11)
-
SYNC
_ FLUSH (11) -
Shift
_ JIS (11) - ShiftingError (11)
-
TABLE
_ FOR _ ESCAPE _ HTML _ _ (11) -
TCP
_ NOPUSH (22) -
TYPE
_ SHORT (11) -
USING
_ AT _ EXIT _ WHEN _ PROCESS _ EXIT (6) - VERSION (11)
- Void (6)
- XMLStyleSheetMixin (11)
- [] (29)
- []= (11)
-
_ iso8601 (11) -
_ jisx0301 (11) -
_ strptime (22) - abbrev (22)
- activate (6)
- active? (12)
-
active
_ job? (6) -
active
_ jobs (6) -
active
_ jobs _ exist? (6) -
active
_ process _ controllers (6) -
add
_ bulk _ threshold _ option (11) -
add
_ delegate _ command _ to _ shell (6) -
add
_ specs (11) -
alias
_ command (18) -
alias
_ map (6) - aliases (11)
- append (18)
- assoc (11)
- atime (18)
- attributes (11)
- basename (18)
- begins? (11)
-
block
_ length (11) -
block
_ output _ synchronize (6) - blockdev? (18)
- build (55)
- build2 (11)
-
build
_ self _ signed _ cert (11) -
bulk
_ threshold (11) -
bulk
_ threshold= (11) -
cache
_ data (22) - cat (18)
- cd (6)
- chardev? (18)
- chdir (6)
-
check
_ point (18) - chmod (18)
- chown (18)
- classify (11)
-
close
_ read (11) -
close
_ write (11) - closed? (11)
- command (6)
- compact! (8)
-
compare
_ by _ identity (11) -
compare
_ by _ identity? (11) -
compile
_ option (11) - concat (6)
- conf (11)
- config (44)
-
count
_ nodes (11) -
count
_ objects _ size (11) -
count
_ tdata _ objects (11) -
create
_ ext _ from _ hash (11) - ctime (18)
- cwd (6)
-
dc
_ publisher (11) -
dc
_ publisher= (11) -
dc
_ publishers (11) - debug (12)
- debug? (12)
-
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ synchronize (6) -
debug
_ output _ unlock (6) -
deconstruct
_ keys (2) -
def
_ builtin _ commands (6) -
def
_ system _ command (6) - default (22)
-
default
_ proc (11) -
default
_ record _ separator (6) - deflate (11)
- delegate (11)
- delete (29)
-
delete
_ if (22) - dig (9)
- digest (66)
-
digest
/ sha1 (11) -
digest
/ sha2 (11) -
digest
_ length (11) - dir (6)
-
dir
_ stack (6) - directory? (18)
- dirname (18)
- dirs (6)
- dump (22)
-
dyna
_ push (11) - each (92)
-
each
_ active _ object (6) -
each
_ pair (22) - echo (18)
- escape (11)
- executable? (18)
-
executable
_ real? (18) - execute (11)
- exist? (18)
- exists? (18)
- fetch (11)
-
fetch
_ path (11) - file? (18)
- files (11)
- filter (51)
- filter! (12)
-
find
_ gems (11) -
find
_ system _ command (18) - finish (132)
-
finish
_ all _ jobs (18) -
finish
_ page _ dir (11) - finished (11)
- finished? (28)
- flock (11)
- flush (132)
-
flush
_ left (11) -
flush
_ next _ in (11) -
flush
_ next _ out (11) -
flush
_ sessions (11) - foreach (29)
- ftype (18)
- generate (22)
-
generate
_ line (11) - getopts (55)
- getwd (6)
- glob (18)
-
group
_ by (11) - grpowned? (18)
- gsub (11)
- gsub! (11)
-
handle
_ interrupt (11) - hash (242)
-
hash
_ old (11) - header (22)
- hexdigest (66)
- identical? (18)
- iflush (11)
- inactivate (6)
- include? (11)
- index (7)
- initialize (17)
- input (6)
- input= (24)
- inspect (17)
-
install
_ builtin _ commands (6) -
install
_ system _ commands (12) - instance (22)
-
instance
_ delegate (11) - invert (55)
- ioflush (11)
-
irb
/ cmd / pushws (11) -
jobs
_ exist? (6) - join (29)
-
json
_ create (77) -
keep
_ if (22) - key (7)
- kill (12)
-
kill
_ job (6) -
latest
_ cache _ data (11) -
latest
_ gc _ info (11) - length (11)
- link (18)
- list (11)
- load (11)
-
load
_ mime _ types (11) -
local
_ push (11) - lshift! (11)
- lstat (18)
-
mark
_ hashentry (11) -
marshal
_ dump (22) -
marshal
_ load (11) -
marshal
_ version (11) - media (22)
- media= (22)
-
method
_ added (6) - mkdir (18)
- modifiable (11)
- mtime (18)
- name (6)
- new (180)
- notify (36)
- numhash (11)
- oflush (11)
-
ole
_ show _ help (11) - on (88)
- open (62)
- out (6)
- owned? (18)
- params (11)
- params= (11)
- parse (44)
-
parse
_ header (11) -
parse
_ line (11) -
pbkdf2
_ hmac _ sha1 (11) - pipe? (18)
- popdir (6)
- pretty (11)
-
process
_ args (1) -
process
_ controllers _ exclusive (6) - push (33)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (11) -
push
_ gem _ version _ on _ load _ path (11) - pushback (11)
- pushd (6)
- pushdir (6)
- pwd (6)
- query (11)
- rassoc (11)
-
raw
_ data (11) -
rb
_ ary _ push (11) -
rb
_ ary _ shift (11) -
rb
_ ary _ unshift (11) -
rb
_ dvar _ push (11) -
rb
_ exec _ arg _ init (1) -
rb
_ f _ hash (11) -
rb
_ mark _ hash (11) -
rdoc
/ generator / darkfish (11) - read (33)
-
read
_ all (22) -
read
_ cache _ data (11) - readable? (18)
-
readable
_ real? (18) - readlines (11)
- readlink (18)
-
record
_ separator (6) - refresh (33)
- refresh! (11)
- register (11)
- rehash (28)
- reject (22)
- reject! (22)
- rename (6)
-
reset
_ cache _ for (11) - restore (55)
-
result
_ with _ hash (7) - rm (18)
- rmdir (18)
- rshift! (11)
- ruby (11)
-
ruby 1
. 9 feature (11) -
rubygems
/ digest / sha1 (11) -
rubygems
/ digest / sha2 (11) -
run
_ config (6) - select (18)
- select! (22)
-
set
_ cache _ data (11) -
set
_ log (1) - setgid? (18)
- setuid? (18)
-
setup
_ params (11) -
sev
_ threshold (11) - sfork (6)
-
sharing
_ detection (11) -
sharing
_ detection= (11) - shebang (11)
- shell (11)
-
shell
/ builtin-command (6) -
shell
/ filter (6) - shellescape (22)
- shelljoin (22)
- shellsplit (22)
- shellwords (11)
- shift (132)
-
short
_ name (11) -
show
_ all (11) -
show
_ all= (11) -
show
_ hash (11) -
show
_ lookup _ failure (11) - shutdown (22)
-
single
_ delegate (11) - size (29)
- size? (18)
- slice (13)
- sn (11)
- socket? (18)
- spawn (44)
-
spec
_ predecessors (11) -
specific
_ extra _ args _ hash (11) - split (29)
-
ssl
_ params (11) -
st
_ init _ table (11) -
st
_ init _ table _ with _ size (11) -
start
_ import (6) -
start
_ job (6) - stat (29)
- sticky? (18)
-
stream
_ end? (11) - strhash (11)
-
strip
_ hashes (11) - sub (11)
- sub! (11)
- symlink (18)
- symlink? (18)
-
sync
_ synchronize (6) - synchronize (6)
- system (6)
- table (11)
- take (22)
- tee (18)
- terminate (6)
-
terminate
_ job (6) - test (18)
- timeout (19)
- title (22)
- title= (22)
-
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)
-
try
_ convert (11) -
unalias
_ command (12) - unlink (18)
- unshift (33)
- utime (18)
- value (11)
-
verify
_ compaction _ references (5) - wait? (12)
-
wait
_ all _ jobs _ execution (6) -
wait
_ to _ finish _ all _ process _ controllers (6) -
waiting
_ job? (6) -
waiting
_ jobs (6) -
waiting
_ jobs _ exist? (6) -
with
_ defaults (11) -
world
_ readable? (6) -
world
_ writable? (18) - writable? (18)
-
writable
_ real? (18) -
xml
_ stylesheets (11) -
xml
_ stylesheets= (11) - zero? (18)
- | (6)
- 制御構造 (11)
検索結果
-
IO
# ioflush -> self (35200.0) -
カーネルの入出力バッファをフラッシュします。
カーネルの入出力バッファをフラッシュします。
@return 自身を返します。 -
IO
# iflush -> self (32200.0) -
カーネルの入力バッファをフラッシュします。
カーネルの入力バッファをフラッシュします。
@return 自身を返します。 -
IPAddr
# hash -> Integer (29200.0) -
ハッシュ値を返します。
...ハッシュ値を返します。
@see Object#hash... -
IO
# flush -> self (29100.0) -
IO ポートの内部バッファをフラッシュします。
...
IO ポートの内部バッファをフラッシュします。
@raise IOError 自身が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX fflush(3) が失敗した場合に発生します。
//emlist[例][ruby]{
require "tempfile"
Tempfile.open("testtm......pfile") do |f|
f.print "test"
File.read(f.path) # => ""
f.flush
File.read(f.path) # => "test"
end
//}......
IO ポートの内部バッファをフラッシュします。
このメソッドを使ったとき、即座にメタデータを更新することは保証されません(特にWindowsで)。
即座にメタデータも更新したいときは IO#fsync を使います。
@raise IOError 自身......ープンされていなければ発生します。
@raise Errno::EXXX fflush(3) が失敗した場合に発生します。
//emlist[例][ruby]{
require "tempfile"
Tempfile.open("testtmpfile") do |f|
f.print "test"
File.read(f.path) # => ""
f.flush
File.read(f.path) # => "test"
end
//}... -
IO
# oflush -> self (29100.0) -
カーネルの出力バッファをフラッシュします。
カーネルの出力バッファをフラッシュします。
@return 自身を返します。 -
IRB
:: ExtendCommand :: PushWorkspace (29000.0) -
irb 中の irb_push_workspace コマンドのための拡張を定義したクラスです。
...irb 中の irb_push_workspace コマンドのための拡張を定義したクラスです。... -
IO
# close _ write -> nil (26106.0) -
書き込み用の IO を close します。
... IO を close します。
@raise IOError 自身が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX close に失敗した場合に発生します。
//emlist[例][ruby]{
f = IO.popen("/bin/sh","r+") do |f|
f.close_write
# f.print "nowhere" # => IOEr......ror: not opened for writing
end
//}
@see IO#close, IO#closed?, IO#close_read......の IO を close します。
既に close されていた場合には単に無視されます。
@raise IOError 自身が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX close に失敗した場合に発生します。
//emlist[例][ruby]{
f = IO.popen......("/bin/sh","r+") do |f|
f.close_write
# f.print "nowhere" # => IOError: not opened for writing
end
//}
@see IO#close, IO#closed?, IO#close_read... -
IRB
:: ExtendCommand :: PushWorkspace # execute(*obj) -> [IRB :: WorkSpace] (26100.0) -
UNIX シェルコマンドの pushd と同じです。
...UNIX シェルコマンドの pushd と同じです。
@param obj IRB::WorkSpace オブジェクトを指定します。複数指定した
場合は先頭のオブジェクトのみが設定されます。... -
FileUtils
# sh(*cmd) {|result , status| . . . } (24119.0) -
与えられたコマンドを実行します。
...ernel.#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, Ke... -
IO
# close _ read -> nil (23106.0) -
読み込み用の IO を close します。主にパイプや読み書き両用に作成し た IO オブジェクトで使用します。
...の IO を close します。主にパイプや読み書き両用に作成し
た IO オブジェクトで使用します。
既に close されていた場合には単に無視されます。
@raise IOError 自身が読み込み用にオープンされていなければ発生します。
@raise......Errno::EXXX close に失敗した場合に発生します。
//emlist[例][ruby]{
IO.popen("/bin/sh","r+") do |f|
f.close_read
# f.readlines # => IOError: not opened for reading
end
//}
@see IO#close, IO#closed?, IO#close_write...