ライブラリ
- ビルトイン (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
# 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... -
Kernel
# Pathname(path) -> Pathname (9001.0) -
文字列 path を元に Pathname オブジェクトを生成します。
文字列 path を元に Pathname オブジェクトを生成します。
Pathname.new(path) と同じです。
@param path 文字列、または類似のオブジェクトを与えます。
実際には to_str に反応するオブジェクトなら何でも構いません。 -
Kernel
# arg _ config(config , default) { . . . } -> object | String | true | nil (9001.0) -
configure オプション --config の値を返します。
configure オプション --config の値を返します。
@param config オプションを文字列で指定します。
@param default 引数 config で指定したオプションのデフォルト値を指定します。
@return オプションが指定されてた場合は true を、指定されなかった場合は
nil を返します。
引数 default、あるいはブロックを指定すると、オプションが指定さ
れていない場合に引数 default の値かブロックの評価結果を返します
(両方指定した場合はブロックが優先されます)... -
Kernel
# cc _ command(opt = "") -> String (9001.0) -
実際にコンパイルする際に使用するコマンドを返します。
実際にコンパイルする際に使用するコマンドを返します。
@param opt コンパイラに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (9001.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 (9001.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 (9001.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 (9001.0) -
与えられた型のサイズを返します。
与えられた型のサイズを返します。
型 type がシステムに存在する場合は、グローバル変数 $defs に
"-DSIZEOF_type=X" を追加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # => 12
である場合、SIZEOF_MYSTRUCT=12 というプリプロセッサマクロをコンパイラに渡します。
@param type 検査したい型を指定します。
@param headers 追加のヘッダファイルを指定します。 -
Kernel
# chmod -> () (9001.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) (9001.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...