種類
- インスタンスメソッド (1385)
- モジュール関数 (1277)
- 変数 (1104)
- 定数 (12)
ライブラリ
- English (300)
- ビルトイン (1881)
- bigdecimal (24)
- continuation (12)
- delegate (12)
- digest (12)
-
irb
/ xmp (12) - json (36)
-
minitest
/ spec (1) - mkmf (1092)
- open-uri (16)
- pathname (12)
- pp (4)
- psych (24)
- rake (108)
- rubygems (12)
-
rubygems
/ custom _ require (12) -
rubygems
/ timer (12) - scanf (12)
- timeout (16)
- un (156)
- uri (12)
キーワード
-
$ ! (12) -
$ " (12) -
$ $ (12) -
$ & (12) -
$ & # 39; (12) -
$ * (12) -
$ + (12) -
$ , (12) -
$ -0 (12) -
$ -F (12) -
$ -I (12) -
$ -K (12) -
$ -W (12) -
$ -a (12) -
$ -d (12) -
$ -i (12) -
$ -l (12) -
$ -p (12) -
$ -v (12) -
$ -w (12) -
$ . (12) -
$ / (12) -
$ 0 (12) -
$ 1 (12) -
$ 10 (12) -
$ 11 (12) -
$ 2 (12) -
$ 3 (12) -
$ 4 (12) -
$ 5 (12) -
$ 6 (12) -
$ 7 (12) -
$ 8 (12) -
$ 9 (12) -
$ : (12) -
$ ; (12) -
$ < (12) -
$ = (12) -
$ > (12) -
$ ? (12) -
$ @ (12) -
$ ARGV (12) -
$ CFLAGS (12) -
$ CHILD _ STATUS (12) -
$ DEBUG (12) -
$ DEFAULT _ INPUT (12) -
$ DEFAULT _ OUTPUT (12) -
$ ERROR _ INFO (12) -
$ ERROR _ POSITION (12) -
$ FIELD _ SEPARATOR (12) -
$ FILENAME (12) -
$ FS (12) -
$ IGNORECASE (12) -
$ INPUT _ LINE _ NUMBER (12) -
$ INPUT _ RECORD _ SEPARATOR (12) -
$ KCODE (12) -
$ LAST _ MATCH _ INFO (12) -
$ LAST _ PAREN _ MATCH (12) -
$ LAST _ READ _ LINE (12) -
$ LDFLAGS (12) -
$ LOADED _ FEATURES (12) -
$ LOAD _ PATH (12) -
$ MATCH (12) -
$ NR (12) -
$ OFS (12) -
$ ORS (12) -
$ OUTPUT _ FIELD _ SEPARATOR (12) -
$ OUTPUT _ RECORD _ SEPARATOR (12) -
$ PID (12) -
$ POSTMATCH (12) -
$ PREMATCH (12) -
$ PROCESS _ ID (12) -
$ PROGRAM _ NAME (12) -
$ RS (12) -
$ SAFE (12) -
$ VERBOSE (12) -
$ \ (12) -
$ _ (12) -
$ ` (12) -
$ archdir (12) -
$ defs (12) -
$ hdrdir (12) -
$ libdir (12) -
$ libs (12) -
$ sitearchdir (12) -
$ sitelibdir (12) -
$ srcdir (12) -
$ stderr (12) -
$ stdin (12) -
$ stdout (12) -
$ topdir (12) -
$ ~ (12) - Array (12)
- BigDecimal (24)
- CONFIG (12)
- Complex (24)
- DelegateClass (12)
- Digest (12)
- Float (12)
- Hash (12)
- Integer (12)
- JSON (12)
- Pathname (12)
- Rational (12)
- String (12)
- URI (12)
-
_ _ callee _ _ (12) -
_ _ dir _ _ (12) -
_ _ method _ _ (12) - ` (12)
- abort (24)
-
arg
_ config (12) -
at
_ exit (12) - autoload (12)
- autoload? (12)
- binding (12)
-
block
_ given? (12) - callcc (12)
- caller (36)
-
caller
_ locations (24) - catch (24)
-
cc
_ command (12) -
check
_ signedness (24) -
check
_ sizeof (24) - chmod (12)
- chomp (12)
- chop (12)
-
convertible
_ int (24) - cp (12)
-
cpp
_ command (12) -
create
_ header (12) -
create
_ makefile (12) -
create
_ tmpsrc (12) -
depend
_ rules (12) - desc (12)
- describe (1)
-
dir
_ config (12) - directory (12)
-
dummy
_ makefile (12) -
egrep
_ cpp (24) -
enable
_ config (24) - eval (24)
- exec (48)
- exit (12)
- exit! (12)
- fail (36)
- file (12)
-
file
_ create (12) -
find
_ executable (12) -
find
_ header (12) -
find
_ library (24) -
find
_ type (24) - fork (24)
- format (12)
- gem (12)
- gets (12)
-
global
_ variables (12) - gsub (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)
- httpd (12)
- import (12)
- install (12)
-
install
_ files (12) -
install
_ rb (12) - iterator? (12)
- j (12)
- jj (12)
- lambda (18)
- libpathflag (12)
-
link
_ command (12) - ln (12)
- load (12)
-
local
_ variables (12) -
log
_ src (12) - loop (24)
-
merge
_ libs (12) - mkdir (12)
- mkmf (12)
- modified? (12)
- multitask (12)
- mv (12)
- namespace (12)
- open (40)
- p (12)
- pp (12)
- print (12)
- printf (24)
- proc (19)
-
psych
_ y (12) - putc (12)
- puts (12)
- raise (36)
- rand (24)
- readline (12)
- readlines (12)
- require (24)
-
require
_ relative (12) - rm (12)
-
rm
_ f (12) -
rm
_ rf (12) - rmdir (12)
- rule (12)
- scanf (12)
- select (12)
-
set
_ trace _ func (12) - sleep (24)
- spawn (48)
- sprintf (12)
- srand (24)
- sub (24)
- syscall (12)
- system (48)
- task (12)
- test (24)
- throw (12)
- time (12)
- timeout (16)
- touch (12)
-
trace
_ var (36) - trap (24)
-
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) -
untrace
_ var (12) -
wait
_ writable (12) - warn (12)
-
with
_ config (24) -
with
_ werror (24) - xmp (12)
- xpopen (24)
- xsystem (12)
- y (12)
検索結果
先頭5件
-
Kernel
# DelegateClass(superclass) -> object (1.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 (1.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", ......で
Digest::MD5などを直接呼び出すと問題があるときはこのメソッドを使
うか、起動時に使用するライブラリを Kernel.#require してください。
@param name "MD5"や"SHA1"などのダイジェストを示す文字列を指定します。
@return Digest::MD5や... -
Kernel
# JSON(object , options = {}) -> object (1.0) -
第一引数に与えられたオブジェクトの種類によって Ruby のオブジェクトか JSON 形式の文字列を返します。
第一引数に与えられたオブジェクトの種類によって Ruby のオブジェクトか JSON 形式の文字列を返します。
第一引数に文字列のようなオブジェクトを指定した場合は、それを JSON.#parse を用いてパースした結果を返します。
そうでないオブジェクトを指定した場合は、それを JSON.#generate を用いて変換した結果を返します。
@param object 任意のオブジェクトを指定します。
@param options JSON.#parse, JSON.#generate に渡すオプションを指定します。
//emlist[例][ruby]{
require "json... -
Kernel
# Pathname(path) -> Pathname (1.0) -
文字列 path を元に Pathname オブジェクトを生成します。
文字列 path を元に Pathname オブジェクトを生成します。
Pathname.new(path) と同じです。
@param path 文字列、または類似のオブジェクトを与えます。
実際には to_str に反応するオブジェクトなら何でも構いません。 -
Kernel
# arg _ config(config , default) { . . . } -> object | String | true | nil (1.0) -
configure オプション --config の値を返します。
configure オプション --config の値を返します。
@param config オプションを文字列で指定します。
@param default 引数 config で指定したオプションのデフォルト値を指定します。
@return オプションが指定されてた場合は true を、指定されなかった場合は
nil を返します。
引数 default、あるいはブロックを指定すると、オプションが指定さ
れていない場合に引数 default の値かブロックの評価結果を返します
(両方指定した場合はブロックが優先されます)... -
Kernel
# cc _ command(opt = "") -> String (1.0) -
実際にコンパイルする際に使用するコマンドを返します。
実際にコンパイルする際に使用するコマンドを返します。
@param opt コンパイラに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (1.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
Returns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (1.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
Returns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS... -
Kernel
# check _ sizeof(type , headers = nil) -> Integer | nil (1.0) -
与えられた型のサイズを返します。
与えられた型のサイズを返します。
型 type がシステムに存在する場合は、グローバル変数 $defs に
"-DSIZEOF_type=X" を追加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # => 12
である場合、SIZEOF_MYSTRUCT=12 というプリプロセッサマクロをコンパイラに渡します。
@param type 検査したい型を指定します。
@param headers 追加のヘッダファイルを指定します。