605件ヒット
[601-605件を表示]
(0.074秒)
種類
ライブラリ
- English (25)
- ビルトイン (314)
- benchmark (1)
- bigdecimal (4)
- continuation (4)
- csv (1)
- delegate (1)
- digest (1)
-
drb
/ extservm (1) - e2mmap (3)
-
irb
/ cmd / load (2) -
irb
/ xmp (2) - json (3)
-
minitest
/ spec (2) -
minitest
/ unit (2) - mkmf (91)
- open-uri (6)
- open3 (2)
- openssl (2)
- pathname (2)
- pp (2)
- profiler (1)
- psych (2)
- pty (4)
- rake (13)
- rubygems (1)
-
rubygems
/ commands / lock _ command (1) -
rubygems
/ custom _ require (1) -
rubygems
/ timer (1) - scanf (5)
- shell (2)
-
shell
/ command-processor (3) -
shell
/ filter (2) - socket (8)
- stringio (9)
- syslog (9)
-
test
/ unit (1) - timeout (3)
- tracer (3)
- un (13)
- uri (1)
-
webrick
/ utils (1) - win32ole (1)
- zlib (4)
クラス
-
ARGF
. class (16) - Array (6)
- BasicObject (2)
-
Benchmark
:: Tms (1) - BigDecimal (2)
- Binding (1)
- CSV (1)
- Complex (2)
- Continuation (2)
-
DRb
:: ExtServManager (1) - Enumerator (1)
- Exception (2)
- File (3)
- IO (39)
-
IRB
:: ExtendCommand :: Load (1) -
IRB
:: ExtendCommand :: Require (1) - LoadError (1)
- Method (1)
- Module (15)
- Object (18)
-
OpenSSL
:: BN (1) - Proc (2)
- Random (9)
- Rational (1)
- Shell (2)
-
Shell
:: CommandProcessor (3) -
Shell
:: Filter (2) - Socket (4)
- String (8)
- StringIO (9)
- SystemExit (1)
- Thread (8)
-
Thread
:: Backtrace :: Location (1) - TracePoint (1)
- Tracer (3)
- UnboundMethod (1)
-
WIN32OLE
_ EVENT (1) - XMP (1)
-
Zlib
:: GzipWriter (4)
モジュール
- Exception2MessageMapper (3)
- FileTest (1)
- FileUtils (2)
- Kernel (319)
-
MiniTest
:: Assertions (2) - Open3 (2)
-
OpenSSL
:: Buffering (1) - OpenURI (2)
-
OpenURI
:: OpenRead (2) - PTY (4)
- Process (8)
-
Socket
:: Constants (4) - Syslog (9)
-
Test
:: Unit (1) - Timeout (1)
-
WEBrick
:: Utils (1)
キーワード
-
$ ! (1) -
$ " (1) -
$ $ (1) -
$ & (1) -
$ & # 39; (1) -
$ * (1) -
$ + (1) -
$ , (1) -
$ -0 (1) -
$ -F (1) -
$ -I (1) -
$ -K (1) -
$ -W (1) -
$ -a (1) -
$ -d (1) -
$ -i (1) -
$ -l (1) -
$ -p (1) -
$ -v (1) -
$ -w (1) -
$ . (1) -
$ / (1) -
$ 0 (1) -
$ 1 (1) -
$ 10 (1) -
$ 11 (1) -
$ 2 (1) -
$ 3 (1) -
$ 4 (1) -
$ 5 (1) -
$ 6 (1) -
$ 7 (1) -
$ 8 (1) -
$ 9 (1) -
$ : (1) -
$ ; (1) -
$ < (1) -
$ = (1) -
$ > (1) -
$ ? (1) -
$ @ (1) -
$ ARGV (1) -
$ CFLAGS (1) -
$ CHILD _ STATUS (1) -
$ DEBUG (1) -
$ DEFAULT _ INPUT (1) -
$ DEFAULT _ OUTPUT (1) -
$ ERROR _ INFO (1) -
$ ERROR _ POSITION (1) -
$ FIELD _ SEPARATOR (1) -
$ FILENAME (1) -
$ FS (1) -
$ IGNORECASE (1) -
$ INPUT _ LINE _ NUMBER (1) -
$ INPUT _ RECORD _ SEPARATOR (1) -
$ KCODE (1) -
$ LAST _ MATCH _ INFO (1) -
$ LAST _ PAREN _ MATCH (1) -
$ LAST _ READ _ LINE (1) -
$ LDFLAGS (1) -
$ LOADED _ FEATURES (1) -
$ LOAD _ PATH (1) -
$ MATCH (1) -
$ NR (1) -
$ OFS (1) -
$ ORS (1) -
$ OUTPUT _ FIELD _ SEPARATOR (1) -
$ OUTPUT _ RECORD _ SEPARATOR (1) -
$ PID (1) -
$ POSTMATCH (1) -
$ PREMATCH (1) -
$ PROCESS _ ID (1) -
$ PROGRAM _ NAME (1) -
$ RS (1) -
$ SAFE (1) -
$ VERBOSE (1) -
$ \ (1) -
$ _ (1) -
$ ` (1) -
$ archdir (1) -
$ defs (1) -
$ hdrdir (1) -
$ libdir (1) -
$ libs (1) -
$ sitearchdir (1) -
$ sitelibdir (1) -
$ srcdir (1) -
$ stderr (1) -
$ stdin (1) -
$ stdout (1) -
$ topdir (1) -
$ ~ (1) - % (1)
-
AI
_ V4MAPPED _ CFG (2) - ARGF (2)
- Array (1)
- BasicObject (1)
- BigDecimal (2)
- Binding (1)
- CONFIG (1)
- Complex (3)
- Continuation (1)
- Converters (1)
- DATA (1)
- DEFAULT (1)
- DefaultLoader (1)
- DelegateClass (1)
- Digest (1)
- File (1)
- Float (1)
- Hash (1)
- Integer (1)
- JSON (1)
- Kernel (1)
- LoadError (1)
- Location (1)
- LockCommand (1)
-
NEWS for Ruby 2
. 0 . 0 (1) -
NEWS for Ruby 2
. 1 . 0 (1) - Pathname (2)
- Proc (1)
-
Profiler
_ _ (1) - Rational (2)
- Rubyの起動 (1)
- Ruby用語集 (1)
- RuntimeError (1)
-
SCRIPT
_ LINES _ _ (1) -
SO
_ ATTACH _ FILTER (2) -
SO
_ DETACH _ FILTER (2) -
SO
_ NKE (2) - Scanf (1)
- String (1)
- Task (1)
- ThreadError (1)
- TracePoint (1)
- URI (1)
- Win32ネイティブ版Rubyの互換性問題 (1)
- [] (4)
-
_ _ callee _ _ (1) -
_ _ dir _ _ (1) -
_ _ method _ _ (1) - ` (1)
- abort (4)
-
add
_ filter (2) -
add
_ trace _ func (1) - alert (1)
-
alias
_ method (1) - ancestors (1)
-
arg
_ config (1) -
assert
_ throws (1) -
at
_ exit (1) - autoload (2)
- autoload? (2)
-
backtrace
_ locations (2) - bigdecimal (1)
- binding (1)
- binread (1)
- binwrite (1)
-
block
_ given? (1) - call (1)
- callcc (1)
- caller (3)
-
caller
_ locations (2) - catch (2)
-
cc
_ command (1) -
check
_ signedness (2) -
check
_ sizeof (2) - chmod (1)
- chomp (1)
- chop (1)
- class (1)
-
class
_ eval (2) -
class
_ variables (1) - command (1)
-
const
_ defined? (1) - constants (2)
- convert (1)
-
convertible
_ int (2) - cp (1)
-
cpp
_ command (1) -
create
_ header (1) -
create
_ makefile (1) -
create
_ tmpsrc (1) - crit (1)
- debug (1)
-
def
_ exception (1) -
defined
_ class (1) - delegate (1)
-
depend
_ rules (1) - desc (1)
- describe (1)
-
dir
_ config (1) - directory (1)
-
drb
/ extservm (1) -
dummy
_ makefile (1) -
egrep
_ cpp (2) - emerg (1)
-
enable
_ config (2) - err (1)
- eval (3)
- exception (2)
- exec (4)
- execute (2)
- exit (3)
- exit! (2)
- fail (3)
- file (1)
-
file
_ create (1) -
find
_ executable (1) -
find
_ header (1) -
find
_ library (2) -
find
_ type (2) -
for
_ fd (1) - foreach (2)
- fork (4)
- format (2)
- freeze (1)
- gem (1)
- getpty (2)
- gets (4)
-
global
_ variables (1) - gsub (3)
-
have
_ devel? (1) -
have
_ framework (2) -
have
_ func (2) -
have
_ header (2) -
have
_ library (2) -
have
_ macro (2) -
have
_ struct _ member (2) -
have
_ type (2) -
have
_ var (2) - help (1)
- hex (1)
- httpd (1)
- identical? (1)
- import (1)
- include (1)
- info (1)
- inspect (1)
- install (1)
-
install
_ files (1) -
install
_ rb (1) -
instance
_ eval (2) -
instance
_ variables (1) - irb (1)
-
irb
/ xmp (1) - iterator? (1)
- j (1)
- jj (1)
- kill (2)
- lambda (2)
- libpathflag (1)
-
link
_ command (1) - ln (1)
- load (1)
-
local
_ variables (1) - log (1)
-
log
_ src (1) - loop (2)
- mathn (1)
-
merge
_ libs (1) - method (1)
-
minitest
/ autorun (1) -
minitest
/ unit (1) - mkdir (1)
- mkmf (2)
- modified? (1)
-
module
_ eval (2) - multitask (1)
-
must
_ throw (1) - mv (1)
- namespace (1)
- new (8)
- next (1)
- notice (1)
- oct (1)
- open (12)
- open-uri (1)
-
open
_ uri (2) - owner (2)
- p (1)
- path (1)
- popen (14)
- popen3 (2)
- pp (2)
-
pretty
_ print (2) - print (6)
- printf (7)
- proc (2)
-
psych
_ y (1) -
public
_ instance _ method (1) - putc (4)
- puts (5)
- raise (4)
- rand (8)
-
rb
_ String (1) -
rb
_ exec _ end _ proc (1) -
rb
_ f _ array (1) -
rb
_ f _ float (1) -
rb
_ f _ hash (1) -
rb
_ f _ integer (1) -
rb
_ f _ string (1) -
rb
_ load (1) - read (3)
- readline (4)
- readlines (7)
- rect (1)
- rectangular (1)
-
remove
_ const (1) - reopen (5)
- require (2)
-
require
_ relative (1) - rm (1)
-
rm
_ f (1) -
rm
_ rf (1) - rmdir (1)
- ruby (1)
-
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 2 feature (1) -
ruby 1
. 8 . 4 feature (1) -
ruby 1
. 8 . 5 feature (1) -
ruby 1
. 9 feature (1) -
rubygems
/ commands / lock _ command (1) -
rubygems
/ custom _ require (1) - rule (1)
-
run
_ config (1) - sample (4)
- scanf (4)
- select (2)
- send (2)
-
set
_ close _ on _ exec (1) -
set
_ trace _ func (3) -
setup
_ argv (1) - sh (1)
- shuffle! (2)
-
singleton
_ method (1) - skip (1)
- sleep (2)
- spawn (7)
- sprintf (1)
- sprintf フォーマット (1)
- srand (4)
- status (1)
- sub (2)
- syscall (1)
- sysopen (1)
- system (4)
- task (1)
- terminate (1)
- test (5)
- throw (1)
- time (1)
- timeout (3)
-
to
_ a (4) -
to
_ ary (1) -
to
_ f (1) -
to
_ i (1) -
to
_ int (1) -
to
_ r (1) -
to
_ s (2) -
to
_ str (1) - touch (1)
-
trace
_ var (3) - tracer (1)
- trap (2)
-
try
_ compile (2) -
try
_ constant (2) -
try
_ cpp (2) -
try
_ do (2) -
try
_ func (2) -
try
_ link (2) -
try
_ run (2) -
try
_ static _ assert (2) -
try
_ type (2) -
try
_ var (2) - ubygems (1)
-
untrace
_ var (1) - verbose= (1)
-
wait
_ writable (1) - warn (1)
- warning (1)
-
webrick
/ https (1) -
webrick
/ httpservlet (1) -
with
_ config (2) -
with
_ werror (2) - write (2)
- xmp (1)
- xpopen (2)
- xsystem (1)
- y (1)
- このマニュアルのヘルプ (1)
- クラス/メソッドの定義 (1)
- セキュリティモデル (1)
- 制御構造 (1)
- 変数と定数 (1)
- 手続きオブジェクトの挙動の詳細 (1)
- 環境変数 (1)
- 終了処理 (1)
検索結果
先頭5件
-
sprintf フォーマット (19.0)
-
sprintf フォーマット === sprintf フォーマット
sprintf フォーマット === sprintf フォーマット
Ruby の sprintf フォーマットは基本的に C 言語の sprintf(3)
のものと同じです。ただし、short や long などの C 特有の型に対する修飾子が
ないこと、2進数の指示子(%b, %B)が存在すること、sprintf のすべての方言をサ
ポートしていないこと(%': 3桁区切り)などの違いがあります。
Ruby には整数の大きさに上限がないので、%b, %B, %o, %x, %X
に負の数を与えると (左側に無限に1が続くとみなせるので)
..f のような表示をします。絶対値に符号を付けた... -
void rb
_ load(VALUE fname , int wrap) (19.0) -
参考: 21651
参考: 21651
組込み関数 Kernel.#load の低レベルインタフェースです。Rubyスクリ
プトが格納されたファイルfname をロードします。
引数wrapが、non-zeroなら無名のモジュールを生成して、ロー
ドした内容をそのモジュールに閉じ込めます。閉じ込めるのは
* 定数
* クラス、モジュール
* トップレベルメソッド
です。グローバル変数の変更などは閉じ込められません。 -
変数と定数 (19.0)
-
変数と定数 * local * instance * class * class_var_scope * global * pseudo * const * prio
変数と定数
* local
* instance
* class
* class_var_scope
* global
* pseudo
* const
* prio
Ruby の変数と定数の種別は変数名の最初の一文字によって、
ローカル変数、
インスタンス変数、
クラス変数、
グローバル変数、
定数
のいずれかに区別されます。
通常の変数の二文字目以降は英数字または
_ですが、組み込み変数の一部には
「`$'+1文字の記号」という変数があります(builtinを参照)。変数名
の長さにはメモリのサイズ以外の制限はありません。
===[a:local] ロ... -
IO
# reopen(io) -> self (4.0) -
自身を指定された io に繋ぎ換えます。
自身を指定された io に繋ぎ換えます。
クラスも io に等しくなることに注意してください。
IO#pos, IO#lineno などは指定された io と等しくなります。
@param io 自身を繋ぎ換えたい IO オブジェクトを指定します。
@raise IOError 指定された io が close されている場合に発生します。 -
StringIO
# reopen(sio) -> StringIO (4.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"
//}