2781件ヒット
[2701-2781件を表示]
(0.090秒)
ライブラリ
- ビルトイン (1075)
- benchmark (12)
- continuation (24)
- delegate (12)
- digest (12)
- e2mmap (6)
-
irb
/ cmd / load (24) -
irb
/ xmp (12) - json (36)
-
minitest
/ spec (2) -
minitest
/ unit (2) - mkmf (948)
- open-uri (24)
- openssl (24)
- pathname (12)
- pp (12)
- psych (24)
- rake (132)
- rubygems (12)
-
rubygems
/ custom _ require (12) -
rubygems
/ timer (12) - scanf (24)
- shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) - stringio (72)
- timeout (16)
- un (156)
- zlib (48)
クラス
-
ARGF
. class (192) - Array (72)
- BasicObject (24)
-
Benchmark
:: Tms (12) - Binding (12)
- Continuation (24)
- Enumerator (12)
- Exception (24)
- IO (84)
-
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Require (12) - LoadError (12)
- Method (12)
- Module (168)
- Object (169)
-
OpenSSL
:: BN (12) - Random (36)
- Rational (12)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - String (84)
- StringIO (72)
- SystemExit (12)
- Thread (96)
-
Thread
:: Backtrace :: Location (12) - TracePoint (12)
- UnboundMethod (24)
- UncaughtThrowError (22)
-
Zlib
:: GzipWriter (48)
モジュール
- Exception2MessageMapper (6)
- FileUtils (24)
- Kernel (1385)
-
MiniTest
:: Assertions (2) -
OpenSSL
:: Buffering (12) -
OpenURI
:: OpenRead (24) - Warning (9)
キーワード
- % (12)
- DelegateClass (12)
- Digest (12)
- JSON (12)
- Pathname (12)
- [] (30)
-
add
_ trace _ func (12) -
alias
_ method (12) - ancestors (12)
-
arg
_ config (12) -
assert
_ throws (1) - autoload (12)
- autoload? (12)
-
backtrace
_ locations (24) -
bind
_ call (12) - call (12)
-
cc
_ command (12) -
check
_ signedness (24) -
check
_ sizeof (24) - chmod (12)
- class (12)
-
class
_ eval (24) -
class
_ variables (12) -
const
_ defined? (12) - constants (12)
- convert (12)
-
convertible
_ int (24) - cp (12)
-
cpp
_ command (12) -
create
_ header (12) -
create
_ makefile (12) -
create
_ tmpsrc (12) -
defined
_ class (12) -
depend
_ rules (12) - desc (12)
- describe (1)
-
dir
_ config (12) - directory (12)
-
dummy
_ makefile (12) -
egrep
_ cpp (24) -
enable
_ config (24) - eval (12)
- exception (24)
- execute (24)
- exit (12)
- file (12)
-
file
_ create (12) -
find
_ executable (12) -
find
_ header (12) -
find
_ library (24) -
find
_ type (24) - format (12)
- freeze (12)
- gem (12)
- gets (36)
-
have
_ devel? (12) -
have
_ framework (24) -
have
_ func (24) -
have
_ header (24) -
have
_ library (24) -
have
_ macro (24) -
have
_ struct _ member (24) -
have
_ type (24) -
have
_ var (24) - help (12)
- hex (12)
- httpd (12)
- import (12)
- include (12)
- inspect (12)
- install (12)
-
install
_ files (12) -
install
_ rb (12) -
instance
_ eval (24) -
instance
_ variables (12) - j (12)
- jj (12)
- kill (12)
- libpathflag (12)
-
link
_ command (12) - ln (12)
-
log
_ src (12) -
merge
_ libs (12) - method (12)
- mkdir (12)
- mkmf (12)
- modified? (12)
-
module
_ eval (24) - multitask (12)
-
must
_ throw (1) - mv (12)
- namespace (12)
- next (12)
- oct (12)
- open (24)
- owner (24)
- path (12)
-
pretty
_ print (24) - print (60)
- printf (60)
-
psych
_ y (12) -
public
_ instance _ method (12) - putc (36)
- puts (48)
- raise (12)
- rand (36)
- readline (36)
- readlines (36)
-
remove
_ const (12) - reopen (60)
- require (12)
- rm (12)
-
rm
_ f (12) -
rm
_ rf (12) - rmdir (12)
- ruby (12)
- rule (12)
- sample (48)
- scanf (24)
- send (24)
-
set
_ trace _ func (12) - sh (12)
- shuffle! (24)
-
singleton
_ method (12) - skip (1)
- status (12)
- tag (11)
- task (12)
- terminate (12)
- test (18)
- time (12)
- timeout (16)
-
to
_ a (48) -
to
_ ary (12) -
to
_ f (12) -
to
_ i (12) -
to
_ int (12) -
to
_ r (12) -
to
_ s (24) -
to
_ str (12) - touch (12)
-
try
_ compile (24) -
try
_ constant (24) -
try
_ cpp (24) -
try
_ do (24) -
try
_ func (24) -
try
_ link (24) -
try
_ run (24) -
try
_ static _ assert (24) -
try
_ type (24) -
try
_ var (24) - value (11)
-
wait
_ writable (12) - warn (9)
-
with
_ config (24) -
with
_ werror (24) - xmp (12)
- xpopen (24)
- xsystem (12)
- y (12)
検索結果
先頭5件
-
UnboundMethod
# owner -> Class | Module (7.0) -
このメソッドが定義されている class か module を返します。
...このメソッドが定義されている class か module を返します。
//emlist[例][ruby]{
Integer.instance_method(:to_s).owner # => Integer
Integer.instance_method(:to_c).owner # => Numeric
Integer.instance_method(:hash).owner # => Kernel
//}... -
Zlib
:: GzipWriter # print(*str) -> nil (7.0) -
引数を自身に順に出力します。引数を省略した場合は、$_ を出力します。
...トを指定します。
require 'zlib'
filename='hoge1.gz'
fw = File.open(filename, "w")
Zlib::GzipWriter.wrap(fw, Zlib::BEST_COMPRESSION){|gz|
gz.print "ugo"
}
fr = File.open(filename)
Zlib::GzipReader.wrap(fr){|gz|
puts gz.read
}
#=> ugo
@see IO#print, Kernel.#print... -
Zlib
:: GzipWriter # printf(format , *args) -> nil (7.0) -
C 言語の printf と同じように、format に従い引数 を文字列に変換して、自身に出力します。
...。
require 'zlib'
filename='hoge1.gz'
fw = File.open(filename, "w")
Zlib::GzipWriter.wrap(fw, Zlib::BEST_COMPRESSION){|gz|
gz.printf("\n%9s", "bar")
}
fr = File.open(filename)
Zlib::GzipReader.wrap(fr){|gz|
puts gz.read
}
#=> bar
@see IO#printf, Kernel.#printf... -
Zlib
:: GzipWriter # putc(ch) -> object (7.0) -
文字 ch を自身に出力します。
...require 'zlib'
filename='hoge1.gz'
fw = File.open(filename, "w")
Zlib::GzipWriter.wrap(fw, Zlib::BEST_COMPRESSION){|gz|
gz.putc ?u
gz.putc ?g
gz.putc ?o
}
fr = File.open(filename)
Zlib::GzipReader.wrap(fr){|gz|
puts gz.read
}
#=> ugo
@see IO#putc, Kernel.#putc... -
Zlib
:: GzipWriter # puts(*str) -> nil (7.0) -
各引数を自身に出力し、それぞれの後に改行を出力します。
...トを指定します。
require 'zlib'
filename='hoge1.gz'
fw = File.open(filename, "w")
Zlib::GzipWriter.wrap(fw, Zlib::BEST_COMPRESSION){|gz|
gz.puts "fuga"
}
fr = File.open(filename)
Zlib::GzipReader.wrap(fr){|gz|
puts gz.read
}
#=> fuga
@see IO#puts, Kernel.#puts... -
IO
# reopen(io) -> self (2.0) -
自身を指定された io に繋ぎ換えます。
自身を指定された io に繋ぎ換えます。
クラスも io に等しくなることに注意してください。
IO#pos, IO#lineno などは指定された io と等しくなります。
@param io 自身を繋ぎ換えたい IO オブジェクトを指定します。
@raise IOError 指定された io が close されている場合に発生します。 -
StringIO
# reopen(sio) -> StringIO (2.0) -
自身が表す文字列が指定された StringIO と同じものになります。
自身が表す文字列が指定された StringIO と同じものになります。
@param sio 自身が表したい StringIO を指定します。
//emlist[例][ruby]{
require 'stringio'
sio = StringIO.new("hoge", 'r+')
sio2 = StringIO.new("foo", 'r+')
sio.reopen(sio2)
p sio.read #=> "foo"
//}