種類
ライブラリ
- English (275)
- ビルトイン (3500)
- benchmark (11)
- bigdecimal (34)
- continuation (44)
- csv (11)
- delegate (11)
- digest (11)
-
drb
/ extservm (11) - e2mmap (18)
-
irb
/ cmd / load (22) -
irb
/ xmp (22) - json (33)
-
minitest
/ spec (2) -
minitest
/ unit (2) - mkmf (1001)
- open-uri (74)
- open3 (22)
- openssl (22)
- pathname (22)
- pp (15)
- profiler (6)
- psych (22)
- pty (44)
- rake (143)
- rubygems (11)
-
rubygems
/ commands / lock _ command (11) -
rubygems
/ custom _ require (11) -
rubygems
/ timer (11) - scanf (30)
- shell (12)
-
shell
/ command-processor (18) -
shell
/ filter (12) - socket (88)
- stringio (99)
- syslog (99)
- tempfile (50)
-
test
/ unit (1) - timeout (41)
- tracer (33)
- un (143)
- uri (11)
-
webrick
/ utils (11) - win32ole (11)
- zlib (44)
クラス
-
ARGF
. class (176) - Array (66)
- BasicObject (22)
-
Benchmark
:: Tms (11) - BigDecimal (12)
- Binding (11)
- CSV (11)
- Complex (22)
- Continuation (22)
-
DRb
:: ExtServManager (11) - Enumerator (11)
- Exception (22)
- File (33)
- IO (429)
-
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Require (11) - LoadError (11)
- Method (11)
- Module (165)
- Object (188)
-
OpenSSL
:: BN (11) - Proc (18)
- Random (95)
- Rational (11)
- Shell (12)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (12) - Socket (44)
- String (78)
- StringIO (99)
- SystemExit (11)
- Tempfile (50)
- Thread (88)
-
Thread
:: Backtrace :: Location (11) - TracePoint (11)
- Tracer (33)
- UnboundMethod (21)
- UncaughtThrowError (20)
-
WIN32OLE
_ EVENT (11) - XMP (11)
-
Zlib
:: GzipWriter (44)
モジュール
- Exception2MessageMapper (18)
- FileTest (11)
- FileUtils (22)
- Kernel (3474)
-
MiniTest
:: Assertions (2) - Open3 (22)
-
OpenSSL
:: Buffering (11) - OpenURI (22)
-
OpenURI
:: OpenRead (22) - PTY (44)
- Process (88)
-
Socket
:: Constants (44) - Syslog (99)
-
Test
:: Unit (1) - Timeout (19)
- URI (14)
-
WEBrick
:: Utils (11) - Warning (16)
キーワード
-
$ ! (11) -
$ " (11) -
$ $ (11) -
$ & (11) -
$ & # 39; (11) -
$ * (11) -
$ + (11) -
$ , (11) -
$ -0 (11) -
$ -F (11) -
$ -I (11) -
$ -K (11) -
$ -W (11) -
$ -a (11) -
$ -d (11) -
$ -i (11) -
$ -l (11) -
$ -p (11) -
$ -v (11) -
$ -w (11) -
$ . (11) -
$ / (11) -
$ 0 (11) -
$ 1 (11) -
$ 10 (11) -
$ 11 (11) -
$ 2 (11) -
$ 3 (11) -
$ 4 (11) -
$ 5 (11) -
$ 6 (11) -
$ 7 (11) -
$ 8 (11) -
$ 9 (11) -
$ : (11) -
$ ; (11) -
$ < (11) -
$ = (11) -
$ > (11) -
$ ? (11) -
$ @ (11) -
$ ARGV (11) -
$ CFLAGS (11) -
$ CHILD _ STATUS (11) -
$ DEBUG (11) -
$ DEFAULT _ INPUT (11) -
$ DEFAULT _ OUTPUT (11) -
$ ERROR _ INFO (11) -
$ ERROR _ POSITION (11) -
$ FIELD _ SEPARATOR (11) -
$ FILENAME (11) -
$ FS (11) -
$ IGNORECASE (11) -
$ INPUT _ LINE _ NUMBER (11) -
$ INPUT _ RECORD _ SEPARATOR (11) -
$ KCODE (11) -
$ LAST _ MATCH _ INFO (11) -
$ LAST _ PAREN _ MATCH (11) -
$ LAST _ READ _ LINE (11) -
$ LDFLAGS (11) -
$ LOADED _ FEATURES (11) -
$ LOAD _ PATH (11) -
$ MATCH (11) -
$ NR (11) -
$ OFS (11) -
$ ORS (11) -
$ OUTPUT _ FIELD _ SEPARATOR (11) -
$ OUTPUT _ RECORD _ SEPARATOR (11) -
$ PID (11) -
$ POSTMATCH (11) -
$ PREMATCH (11) -
$ PROCESS _ ID (11) -
$ PROGRAM _ NAME (11) -
$ RS (11) -
$ SAFE (11) -
$ VERBOSE (11) -
$ \ (11) -
$ _ (11) -
$ ` (11) -
$ archdir (11) -
$ defs (11) -
$ hdrdir (11) -
$ libdir (11) -
$ libs (11) -
$ sitearchdir (11) -
$ sitelibdir (11) -
$ srcdir (11) -
$ stderr (11) -
$ stdin (11) -
$ stdout (11) -
$ topdir (11) -
$ ~ (11) - % (11)
-
AI
_ V4MAPPED _ CFG (22) - ARGF (22)
- Array (11)
- BasicObject (11)
- BigDecimal (22)
- Binding (11)
- CONFIG (11)
- Complex (33)
- Continuation (11)
- Converters (11)
- DATA (11)
- DEFAULT (7)
- DefaultLoader (11)
- DelegateClass (11)
- Digest (11)
- File (11)
- Float (11)
- Hash (11)
- Integer (11)
- JSON (11)
- Kernel (11)
- LoadError (11)
- Location (11)
- LockCommand (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - Pathname (22)
- Proc (11)
-
Profiler
_ _ (6) - Rational (22)
- Rubyの起動 (11)
- Ruby用語集 (11)
- RuntimeError (11)
-
SCRIPT
_ LINES _ _ (11) -
SO
_ ATTACH _ FILTER (22) -
SO
_ DETACH _ FILTER (22) -
SO
_ NKE (22) - Scanf (6)
- String (11)
- Task (11)
- ThreadError (11)
- TracePoint (11)
- URI (11)
- UncaughtThrowError (10)
- Win32ネイティブ版Rubyの互換性問題 (11)
- [] (29)
-
_ _ callee _ _ (11) -
_ _ dir _ _ (11) -
_ _ method _ _ (11) - ` (11)
- abort (44)
-
add
_ filter (22) -
add
_ trace _ func (11) - alert (11)
-
alias
_ method (11) - ancestors (11)
-
arg
_ config (11) -
assert
_ throws (1) -
at
_ exit (11) - autoload (22)
- autoload? (22)
-
backtrace
_ locations (22) - bigdecimal (11)
-
bind
_ call (10) - binding (11)
- binread (11)
- binwrite (11)
-
block
_ given? (11) - call (11)
- callcc (11)
- caller (33)
-
caller
_ locations (22) - catch (22)
-
cc
_ command (11) -
check
_ signedness (22) -
check
_ sizeof (22) - chmod (11)
- chomp (11)
- chop (11)
- class (11)
-
class
_ eval (22) -
class
_ variables (11) - command (11)
-
const
_ defined? (11) - constants (22)
- convert (11)
-
convertible
_ int (22) - cp (11)
-
cpp
_ command (11) - create (20)
-
create
_ header (11) -
create
_ makefile (11) -
create
_ tmpsrc (11) - crit (11)
- debug (11)
-
def
_ exception (6) -
defined
_ class (11) - delegate (11)
-
depend
_ rules (11) - desc (11)
- describe (1)
-
dir
_ config (11) - directory (11)
-
drb
/ extservm (11) -
dummy
_ makefile (11) -
egrep
_ cpp (22) - emerg (11)
-
enable
_ config (22) - err (11)
- eval (33)
- exception (22)
- exec (44)
- execute (22)
- exit (33)
- exit! (22)
- fail (33)
- file (11)
-
file
_ create (11) -
find
_ executable (11) -
find
_ header (11) -
find
_ library (22) -
find
_ type (22) -
for
_ fd (11) - foreach (22)
- fork (44)
- format (22)
- freeze (11)
- gem (11)
- getpty (22)
- gets (44)
-
global
_ variables (11) - gsub (33)
-
have
_ devel? (11) -
have
_ framework (22) -
have
_ func (22) -
have
_ header (22) -
have
_ library (22) -
have
_ macro (22) -
have
_ struct _ member (22) -
have
_ type (22) -
have
_ var (22) - help (11)
- hex (11)
- httpd (11)
- identical? (11)
- import (11)
- include (11)
- info (11)
- inspect (11)
- install (11)
-
install
_ files (11) -
install
_ rb (11) -
instance
_ eval (22) -
instance
_ variables (11) - irb (11)
-
irb
/ xmp (11) - iterator? (11)
- j (11)
- jj (11)
- kill (22)
- lambda (17)
- libpathflag (11)
-
link
_ command (11) - ln (11)
- load (11)
-
local
_ variables (11) - log (11)
-
log
_ src (11) - loop (22)
- mathn (4)
-
merge
_ libs (11) - method (11)
-
minitest
/ autorun (11) -
minitest
/ unit (1) - mkdir (11)
- mkmf (22)
- modified? (11)
-
module
_ eval (22) - multitask (11)
-
must
_ throw (1) - mv (11)
- namespace (11)
- new (84)
- next (11)
- notice (11)
- oct (11)
- open (160)
- open-uri (6)
-
open
_ uri (22) - owner (22)
- p (11)
- path (11)
- popen (154)
- popen3 (22)
- pp (22)
-
pretty
_ print (22) - print (66)
- printf (77)
- proc (18)
-
psych
_ y (11) -
public
_ instance _ method (11) - putc (44)
- puts (55)
- raise (44)
- rand (88)
-
rb
_ String (11) -
rb
_ exec _ end _ proc (11) -
rb
_ f _ array (11) -
rb
_ f _ float (11) -
rb
_ f _ hash (11) -
rb
_ f _ integer (11) -
rb
_ f _ string (11) -
rb
_ load (11) - read (33)
- readline (44)
- readlines (77)
- rect (11)
- rectangular (11)
-
remove
_ const (11) - reopen (55)
- require (22)
-
require
_ relative (11) - rm (11)
-
rm
_ f (11) -
rm
_ rf (11) - rmdir (11)
- ruby (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 8 . 5 feature (11) -
ruby 1
. 9 feature (11) -
rubygems
/ commands / lock _ command (11) -
rubygems
/ custom _ require (11) - rule (11)
-
run
_ config (6) - sample (44)
- scanf (24)
- select (22)
- send (22)
-
set
_ close _ on _ exec (11) -
set
_ trace _ func (33) -
setup
_ argv (1) - sh (11)
- shuffle! (22)
-
singleton
_ method (11) - skip (1)
- sleep (22)
- spawn (77)
- sprintf (11)
- sprintf フォーマット (11)
- srand (44)
- status (11)
- sub (22)
- syscall (11)
- sysopen (11)
- system (44)
- tag (10)
- task (11)
- terminate (11)
- test (40)
- throw (11)
- time (11)
- timeout (41)
-
to
_ a (44) -
to
_ ary (11) -
to
_ f (11) -
to
_ i (11) -
to
_ int (11) -
to
_ r (11) -
to
_ s (22) -
to
_ str (11) - touch (11)
-
trace
_ var (33) - tracer (11)
- trap (22)
-
try
_ compile (22) -
try
_ constant (22) -
try
_ cpp (22) -
try
_ do (22) -
try
_ func (22) -
try
_ link (22) -
try
_ run (22) -
try
_ static _ assert (22) -
try
_ type (22) -
try
_ var (22) - ubygems (4)
-
untrace
_ var (11) - value (10)
- verbose= (11)
-
wait
_ writable (11) - warn (27)
- warning (11)
-
webrick
/ https (11) -
webrick
/ httpservlet (11) -
with
_ config (22) -
with
_ werror (22) - write (22)
- xmp (11)
- xpopen (22)
- xsystem (11)
- y (11)
- このマニュアルのヘルプ (11)
- クラス/メソッドの定義 (11)
- セキュリティモデル (11)
- 制御構造 (11)
- 変数と定数 (11)
- 手続きオブジェクトの挙動の詳細 (11)
- 環境変数 (11)
- 終了処理 (11)
検索結果
先頭5件
-
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) {|sio| . . . } -> nil (6.0) -
URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。
...定します。
@param name オープンしたいリソースを文字列で与えます。
@param mode モードを文字列で与えます。Kernel.#open と同じです。
@param perm 無視されます。
@param options ハッシュを与えます。
@return 返り値である StringIO オ... -
OpenURI
:: OpenRead # open(mode = & # 39;r& # 39; , perm = nil , options = {}) -> StringIO (6.0) -
自身が表すリソースを取得して StringIO オブジェクトとして返します。 OpenURI.open_uri(self, *rest, &block) と同じです。
...StringIO オブジェクトは OpenURI::Meta モジュールで extend されています。
@param mode モードを文字列で与えます。Kernel.#open と同じです。
@param perm 無視されます。
@param options ハッシュを与えます。
@raise OpenURI::HTTPError 対象とな... -
OpenURI
:: OpenRead # open(mode = & # 39;r& # 39; , perm = nil , options = {}) {|sio| . . . } -> nil (6.0) -
自身が表すリソースを取得して StringIO オブジェクトとして返します。 OpenURI.open_uri(self, *rest, &block) と同じです。
...StringIO オブジェクトは OpenURI::Meta モジュールで extend されています。
@param mode モードを文字列で与えます。Kernel.#open と同じです。
@param perm 無視されます。
@param options ハッシュを与えます。
@raise OpenURI::HTTPError 対象とな... -
Pathname (6.0)
-
パス名をオブジェクト指向らしく扱うクラスです。
...に
ファイルシステムにアクセスするものもあります。
Pathname オブジェクトの生成には、Pathname.new のほかに Kernel#Pathname も使えます。
//emlist[例][ruby]{
require 'pathname'
Pathname.new("foo/bar") # => #<Pathname:foo/bar>
Pathname("foo/bar") # =>... -
Proc
. new -> Proc (6.0) -
ブロックをコンテキストとともにオブジェクト化して返します。
...e Proc object without a block (ArgumentError)
# from -:2:in `foo'
# from -:4:in `<main>'
//}
Proc.new は、Proc#initialize が定義されていれば
オブジェクトの初期化のためにこれを呼び出します。このことを
除けば、Kernel.#proc と同じです。... -
Proc
. new { . . . } -> Proc (6.0) -
ブロックをコンテキストとともにオブジェクト化して返します。
...e Proc object without a block (ArgumentError)
# from -:2:in `foo'
# from -:4:in `<main>'
//}
Proc.new は、Proc#initialize が定義されていれば
オブジェクトの初期化のためにこれを呼び出します。このことを
除けば、Kernel.#proc と同じです。......list[][ruby]{
Proc.new # => -e:1:in `new': tried to create Proc object without a block (ArgumentError)
//}
Proc.new は、Proc#initialize が定義されていれば
オブジェクトの初期化のためにこれを呼び出します。このことを
除けば、Kernel.#proc と同じです。... -
Process
. # kill(signal , pid , *rest) -> Integer (6.0) -
pid で指定されたプロセスにシグナルを送ります。signal はシグナル番号(整数)かその名前(文字列またはSymbol)で指定します。 全てのシグナル送信に成功した場合、指定した pid の総数を返します。
...けたものと見なされます。
@param rest プロセス ID を整数で指定します。
@raise ArgumentError 存在しないシグナルを指定した場合に発生します。
@raise Errno::EXXX シグナル送信に失敗した場合に発生します。
@see Kernel.#trap, kill(2)... -
Rational (6.0)
-
有理数を扱うクラスです。
...扱うクラスです。
「1/3」のような有理数を扱う事ができます。Integer や Float
と同様に Rational.new ではなく、 Kernel.#Rational を使用して
Rational オブジェクトを作成します。
//emlist[例][ruby]{
Rational(1, 3) # => (1/3)
Rational('1/3')... -
Rubyの起動 (6.0)
-
Rubyの起動 * cmd_option * shebang
...cho matz | ruby -p -e '$_.tr! "a-z", "A-Z"'
MATZ
//}
: -r feature
スクリプト実行前に feature で指定されるライブラリを
Kernel.#require します。
`-n'オプション、`-p'オプションとともに使う時に特に有効です。
: -s
スクリプト名に続... -
Scanf (6.0)
-
scanf ライブラリで使用する名前空間です。
...scanf ライブラリで使用する名前空間です。
@see Kernel.#scanf, String#scanf, IO#scanf, Stdin#scanf... -
String
# scanf(format) -> Array (6.0) -
ブロックを指定しない場合、見つかった文字列を format に従って変 換し、そのオブジェクトの配列を返します。 format で指定した文字列が見つからない場合は空の配列を 生成して返します。
...scanf("%s %d") # => ["a", 10]
p "a10".scanf("%1s %d") # => ["a", 10]
//}
: %%
% そのもの
: %d
: %u
符号付き10進数
: %i
Kernel.#Integerのように接頭辞を受け付ける符号付き整数
: %o
符号付き8進数
: %x
: %X
符号付き16進数
: %e
: %f
: %g
: %...