
![条件を削除 [x]](/images/drop-condition-icon.png)
種類
- インスタンスメソッド (933)
- モジュール関数 (864)
- 変数 (736)
- 定数 (8)
ライブラリ
- English (200)
- ビルトイン (1260)
- bigdecimal (16)
- continuation (8)
- delegate (8)
- digest (8)
-
irb
/ xmp (8) - json (24)
-
minitest
/ spec (1) - mkmf (728)
- open-uri (16)
- pathname (8)
- pp (4)
- psych (16)
- rake (72)
- rubygems (8)
-
rubygems
/ custom _ require (8) -
rubygems
/ timer (8) - scanf (12)
- timeout (16)
- un (104)
- uri (8)
キーワード
-
$ ! (8) -
$ " (8) -
$ $ (8) -
$ & (8) -
$ & # 39; (8) -
$ * (8) -
$ + (8) -
$ , (8) -
$ -0 (8) -
$ -F (8) -
$ -I (8) -
$ -K (8) -
$ -W (8) -
$ -a (8) -
$ -d (8) -
$ -i (8) -
$ -l (8) -
$ -p (8) -
$ -v (8) -
$ -w (8) -
$ . (8) -
$ / (8) -
$ 0 (8) -
$ 1 (8) -
$ 10 (8) -
$ 11 (8) -
$ 2 (8) -
$ 3 (8) -
$ 4 (8) -
$ 5 (8) -
$ 6 (8) -
$ 7 (8) -
$ 8 (8) -
$ 9 (8) -
$ : (8) -
$ ; (8) -
$ < (8) -
$ = (8) -
$ > (8) -
$ ? (8) -
$ @ (8) -
$ ARGV (8) -
$ CFLAGS (8) -
$ CHILD _ STATUS (8) -
$ DEBUG (8) -
$ DEFAULT _ INPUT (8) -
$ DEFAULT _ OUTPUT (8) -
$ ERROR _ INFO (8) -
$ ERROR _ POSITION (8) -
$ FIELD _ SEPARATOR (8) -
$ FILENAME (8) -
$ FS (8) -
$ IGNORECASE (8) -
$ INPUT _ LINE _ NUMBER (8) -
$ INPUT _ RECORD _ SEPARATOR (8) -
$ KCODE (8) -
$ LAST _ MATCH _ INFO (8) -
$ LAST _ PAREN _ MATCH (8) -
$ LAST _ READ _ LINE (8) -
$ LDFLAGS (8) -
$ LOADED _ FEATURES (8) -
$ LOAD _ PATH (8) -
$ MATCH (8) -
$ NR (8) -
$ OFS (8) -
$ ORS (8) -
$ OUTPUT _ FIELD _ SEPARATOR (8) -
$ OUTPUT _ RECORD _ SEPARATOR (8) -
$ PID (8) -
$ POSTMATCH (8) -
$ PREMATCH (8) -
$ PROCESS _ ID (8) -
$ PROGRAM _ NAME (8) -
$ RS (8) -
$ SAFE (8) -
$ VERBOSE (8) -
$ \ (8) -
$ _ (8) -
$ ` (8) -
$ archdir (8) -
$ defs (8) -
$ hdrdir (8) -
$ libdir (8) -
$ libs (8) -
$ sitearchdir (8) -
$ sitelibdir (8) -
$ srcdir (8) -
$ stderr (8) -
$ stdin (8) -
$ stdout (8) -
$ topdir (8) -
$ ~ (8) - Array (8)
- BigDecimal (16)
- CONFIG (8)
- Complex (16)
- DelegateClass (8)
- Digest (8)
- Float (8)
- Hash (8)
- Integer (8)
- JSON (8)
- Pathname (8)
- Rational (8)
- String (8)
- URI (8)
-
_ _ callee _ _ (8) -
_ _ dir _ _ (8) -
_ _ method _ _ (8) - ` (8)
- abort (16)
-
arg
_ config (8) -
at
_ exit (8) - autoload (8)
- autoload? (8)
- binding (8)
-
block
_ given? (8) - callcc (8)
- caller (24)
-
caller
_ locations (16) - catch (16)
-
cc
_ command (8) -
check
_ signedness (16) -
check
_ sizeof (16) - chmod (8)
- chomp (8)
- chop (8)
-
convertible
_ int (16) - cp (8)
-
cpp
_ command (8) -
create
_ header (8) -
create
_ makefile (8) -
create
_ tmpsrc (8) -
depend
_ rules (8) - desc (8)
- describe (1)
-
dir
_ config (8) - directory (8)
-
dummy
_ makefile (8) -
egrep
_ cpp (16) -
enable
_ config (16) - eval (16)
- exec (32)
- exit (8)
- exit! (8)
- fail (24)
- file (8)
-
file
_ create (8) -
find
_ executable (8) -
find
_ header (8) -
find
_ library (16) -
find
_ type (16) - fork (16)
- format (8)
- gem (8)
- gets (8)
-
global
_ variables (8) - gsub (24)
-
have
_ devel? (8) -
have
_ framework (16) -
have
_ func (16) -
have
_ header (16) -
have
_ library (16) -
have
_ macro (16) -
have
_ struct _ member (16) -
have
_ type (16) -
have
_ var (16) - help (8)
- httpd (8)
- import (8)
- install (8)
-
install
_ files (8) -
install
_ rb (8) - iterator? (8)
- j (8)
- jj (8)
- lambda (16)
- libpathflag (8)
-
link
_ command (8) - ln (8)
- load (8)
-
local
_ variables (8) -
log
_ src (8) - loop (16)
-
merge
_ libs (8) - mkdir (8)
- mkmf (8)
- modified? (8)
- multitask (8)
- mv (8)
- namespace (8)
- open (32)
- p (8)
- pp (8)
- print (8)
- printf (16)
- proc (16)
-
psych
_ y (8) - putc (8)
- puts (8)
- raise (24)
- rand (16)
- readline (8)
- readlines (8)
- require (16)
-
require
_ relative (8) - rm (8)
-
rm
_ f (8) -
rm
_ rf (8) - rmdir (8)
- rule (8)
- scanf (12)
- select (8)
-
set
_ trace _ func (8) - sleep (16)
- spawn (32)
- sprintf (8)
- srand (16)
- sub (16)
- syscall (8)
- system (32)
- task (8)
- test (16)
- throw (8)
- time (8)
- timeout (16)
- touch (8)
-
trace
_ var (24) - trap (16)
-
try
_ compile (16) -
try
_ constant (16) -
try
_ cpp (16) -
try
_ do (16) -
try
_ func (16) -
try
_ link (16) -
try
_ run (16) -
try
_ static _ assert (16) -
try
_ type (16) -
try
_ var (16) -
untrace
_ var (8) -
wait
_ writable (8) - warn (8)
-
with
_ config (16) -
with
_ werror (16) - xmp (8)
- xpopen (16)
- xsystem (8)
- y (8)
検索結果
先頭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 追加のヘッダファイルを指定します。 -
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 追加のヘッダファイルを指定します。 -
Kernel
# chmod -> () (1.0) -
ファイルのアクセス権を変更します。
ファイルのアクセス権を変更します。
Change the mode of each FILE to OCTAL-MODE.
ruby -run -e chmod -- [OPTION] OCTAL-MODE FILE
-v 詳細表示
@see chmod(1) -
Kernel
# convertible _ int(type , headers = nil , opts = nil) (1.0) -
Returns the convertible integer type of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. _Convertible_ means actually same type, or typedefed from same type. If the +type+ is a integer type and _convertible_ type is found, following macros are passed as preprocessor constants to the compiler using the +type+ name, in uppercase. * 'TYPEOF_', followed by the +type+ name, followed by '=X' where 'X' is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP, where 'TYP' is the +type+ name in uppercase with replacing '_t' suffix with 'T', followed by '=X' where 'X' is the macro name to convert +type+ to +Integer+ object, and vice versa. For example, if foobar_t is defined as unsigned long, then convertible_int("foobar_t") would return "unsigned long", and define macros: #define TYPEOF_FOOBAR_T unsigned long #define FOOBART2NUM ULONG2NUM #define NUM2FOOBART NUM2ULONG
Returns the convertible integer type of the given +type+. You may
optionally specify additional +headers+ to search in for the +type+.
_Convertible_ means actually same type, or typedefed from same type.
If the +type+ is a integer type and _convertible_ type is found,
following macros are p... -
Kernel
# convertible _ int(type , headers = nil , opts = nil) { . . . } (1.0) -
Returns the convertible integer type of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. _Convertible_ means actually same type, or typedefed from same type. If the +type+ is a integer type and _convertible_ type is found, following macros are passed as preprocessor constants to the compiler using the +type+ name, in uppercase. * 'TYPEOF_', followed by the +type+ name, followed by '=X' where 'X' is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP, where 'TYP' is the +type+ name in uppercase with replacing '_t' suffix with 'T', followed by '=X' where 'X' is the macro name to convert +type+ to +Integer+ object, and vice versa. For example, if foobar_t is defined as unsigned long, then convertible_int("foobar_t") would return "unsigned long", and define macros: #define TYPEOF_FOOBAR_T unsigned long #define FOOBART2NUM ULONG2NUM #define NUM2FOOBART NUM2ULONG
Returns the convertible integer type of the given +type+. You may
optionally specify additional +headers+ to search in for the +type+.
_Convertible_ means actually same type, or typedefed from same type.
If the +type+ is a integer type and _convertible_ type is found,
following macros are p...