ライブラリ
- ビルトイン (984)
- benchmark (11)
- continuation (22)
- delegate (11)
- digest (11)
- e2mmap (6)
-
irb
/ cmd / load (22) -
irb
/ xmp (11) - json (33)
-
minitest
/ spec (2) -
minitest
/ unit (2) - mkmf (869)
- open-uri (22)
- openssl (22)
- pathname (11)
- pp (11)
- psych (22)
- rake (121)
- rubygems (11)
-
rubygems
/ custom _ require (11) -
rubygems
/ timer (11) - scanf (24)
- shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) - stringio (66)
- timeout (16)
- un (143)
- zlib (44)
クラス
-
ARGF
. class (176) - Array (66)
- BasicObject (22)
-
Benchmark
:: Tms (11) - Binding (11)
- Continuation (22)
- Enumerator (11)
- Exception (22)
- IO (77)
-
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Require (11) - LoadError (11)
- Method (11)
- Module (154)
- Object (155)
-
OpenSSL
:: BN (11) - Random (33)
- Rational (11)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - String (78)
- StringIO (66)
- SystemExit (11)
- Thread (88)
-
Thread
:: Backtrace :: Location (11) - TracePoint (11)
- UnboundMethod (21)
- UncaughtThrowError (20)
-
Zlib
:: GzipWriter (44)
モジュール
- Exception2MessageMapper (6)
- FileUtils (22)
- Kernel (1272)
-
MiniTest
:: Assertions (2) -
OpenSSL
:: Buffering (11) -
OpenURI
:: OpenRead (22) - Warning (8)
キーワード
- % (11)
- DelegateClass (11)
- Digest (11)
- JSON (11)
- Pathname (11)
- [] (29)
-
add
_ trace _ func (11) -
alias
_ method (11) - ancestors (11)
-
arg
_ config (11) -
assert
_ throws (1) - autoload (11)
- autoload? (11)
-
backtrace
_ locations (22) -
bind
_ call (10) - call (11)
-
cc
_ command (11) -
check
_ signedness (22) -
check
_ sizeof (22) - chmod (11)
- class (11)
-
class
_ eval (22) -
class
_ variables (11) -
const
_ defined? (11) - constants (11)
- convert (11)
-
convertible
_ int (22) - cp (11)
-
cpp
_ command (11) -
create
_ header (11) -
create
_ makefile (11) -
create
_ tmpsrc (11) -
defined
_ class (11) -
depend
_ rules (11) - desc (11)
- describe (1)
-
dir
_ config (11) - directory (11)
-
dummy
_ makefile (11) -
egrep
_ cpp (22) -
enable
_ config (22) - eval (11)
- exception (22)
- execute (22)
- exit (11)
- file (11)
-
file
_ create (11) -
find
_ executable (11) -
find
_ header (11) -
find
_ library (22) -
find
_ type (22) - format (11)
- freeze (11)
- gem (11)
- gets (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)
- import (11)
- include (11)
- inspect (11)
- install (11)
-
install
_ files (11) -
install
_ rb (11) -
instance
_ eval (22) -
instance
_ variables (11) - j (11)
- jj (11)
- kill (11)
- libpathflag (11)
-
link
_ command (11) - ln (11)
-
log
_ src (11) -
merge
_ libs (11) - method (11)
- mkdir (11)
- mkmf (11)
- modified? (11)
-
module
_ eval (22) - multitask (11)
-
must
_ throw (1) - mv (11)
- namespace (11)
- next (11)
- oct (11)
- open (22)
- owner (22)
- path (11)
-
pretty
_ print (22) - print (55)
- printf (55)
-
psych
_ y (11) -
public
_ instance _ method (11) - putc (33)
- puts (44)
- raise (11)
- rand (33)
- readline (33)
- readlines (33)
-
remove
_ const (11) - reopen (55)
- require (11)
- rm (11)
-
rm
_ f (11) -
rm
_ rf (11) - rmdir (11)
- ruby (11)
- rule (11)
- sample (44)
- scanf (24)
- send (22)
-
set
_ trace _ func (11) - sh (11)
- shuffle! (22)
-
singleton
_ method (11) - skip (1)
- status (11)
- tag (10)
- task (11)
- terminate (11)
- test (18)
- time (11)
- timeout (16)
-
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)
-
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) - value (10)
-
wait
_ writable (11) - warn (8)
-
with
_ config (22) -
with
_ werror (22) - xmp (11)
- xpopen (22)
- xsystem (11)
- y (11)
検索結果
先頭5件
-
Kernel
# find _ type(type , opt , *headers) { . . . } -> Array (9007.0) -
静的な型 type がシステムに存在するかどうか検査します。
...な型 type がシステムに存在するかどうか検査します。
@param type 検査したい型の名前を指定します。
@param opt コンパイラに渡す追加のオプションを指定します。
@param headers 追加のヘッダを指定します。
@see Kernel#have_type... -
Kernel
# j(*objects) -> nil (9007.0) -
与えられたオブジェクトを JSON 形式の文字列で標準出力に一行で出力します。
...トを JSON 形式の文字列で標準出力に一行で出力します。
@param objects JSON 形式で出力したいオブジェクトを指定します。
//emlist[例][ruby]{
require "json"
j([1,2,{"name" => "tanaka","age" => 19}])
# => [1,2,{"name":"tanaka","age":19}]
//}
@see Kernel.#p... -
Kernel
# jj(*objects) -> nil (9007.0) -
与えられたオブジェクトを JSON 形式の文字列で標準出力に人間に読みやすく整形して出力します。
...します。
@param objects JSON 形式で出力したいオブジェクトを指定します。
//emlist[例][ruby]{
require "json"
jj([1,2,{"name" => "tanaka","age" => 19}])
# => [
# 1,
# 2,
# {
# "name": "tanaka",
# "age": 19
# }
# ]
//}
@see Kernel.#pp... -
Kernel
# try _ do(src , command , *opts) -> () (9007.0) -
@param src C プログラムのソースコードを指定します。
...aram src C プログラムのソースコードを指定します。
@param command コマンドを指定します。
@param opts オプションを Hash で指定します。
@raise RuntimeError 開発環境がインストールされていない場合に発生します。
@see Kernel#xsystem... -
Kernel
# try _ do(src , command , *opts) { . . . } -> () (9007.0) -
@param src C プログラムのソースコードを指定します。
...aram src C プログラムのソースコードを指定します。
@param command コマンドを指定します。
@param opts オプションを Hash で指定します。
@raise RuntimeError 開発環境がインストールされていない場合に発生します。
@see Kernel#xsystem... -
Kernel
# xmp(exps , bind = nil) -> XMP (9007.0) -
引数 exps で指定されたRuby のソースコードとその実行結果を、標準出力に行 ごとに交互に表示します。
...定します。
@param bind Binding オブジェクトを指定します。省略した場合は、最
後に実行した XMP#puts、Kernel#xmp の
Binding を使用します。まだ何も実行していない場合は
Object::TOPLEVEL_BINDING を使用します... -
Kernel
# xpopen(command , *mode) -> IO (9007.0) -
command を表示してから IO.popen の実行します。
...command を表示してから IO.popen の実行します。
@param command コマンド名を指定します。
@param mode オープンする IO ポートのモードを指定します。mode の詳細は Kernel.#open 参照して下さい。
@see IO.popen... -
Kernel
# xpopen(command , *mode) { . . . } -> object (9007.0) -
command を表示してから IO.popen の実行します。
...command を表示してから IO.popen の実行します。
@param command コマンド名を指定します。
@param mode オープンする IO ポートのモードを指定します。mode の詳細は Kernel.#open 参照して下さい。
@see IO.popen... -
Kernel
# DelegateClass(superclass) -> object (9001.0) -
クラス superclass のインスタンスへメソッドを委譲するクラスを定義し、 そのクラスを返します。
クラス superclass のインスタンスへメソッドを委譲するクラスを定義し、
そのクラスを返します。
@param superclass 委譲先となるクラス
例:
//emlist{
require 'delegate'
class ExtArray < DelegateClass(Array)
def initialize
super([])
end
end
a = ExtArray.new
p a.class # => ExtArray
a.push 25
p a # => [25]
//} -
Kernel
# Digest(name) -> object (9001.0) -
"MD5"や"SHA1"などのダイジェストを示す文字列 name を指定し、 対応するダイジェストのクラスを取得します。
"MD5"や"SHA1"などのダイジェストを示す文字列 name を指定し、
対応するダイジェストのクラスを取得します。
@param name "MD5"や"SHA1"などのダイジェストを示す文字列を指定します。
@return Digest::MD5やDigest::SHA1などの対応するダイジェストのクラスを返します。インスタンスではなく、クラスを返します。注意してください。
例: Digest::MD、Digest::SHA1、Digest::SHA512のクラス名を順番に出力する。
require 'digest'
for a in ["MD5", "SHA1", ... -
Kernel
# JSON(object , options = {}) -> object (9001.0) -
第一引数に与えられたオブジェクトの種類によって Ruby のオブジェクトか JSON 形式の文字列を返します。
第一引数に与えられたオブジェクトの種類によって Ruby のオブジェクトか JSON 形式の文字列を返します。
第一引数に文字列のようなオブジェクトを指定した場合は、それを JSON.#parse を用いてパースした結果を返します。
そうでないオブジェクトを指定した場合は、それを JSON.#generate を用いて変換した結果を返します。
@param object 任意のオブジェクトを指定します。
@param options JSON.#parse, JSON.#generate に渡すオプションを指定します。
//emlist[例][ruby]{
require "json...