種類
- インスタンスメソッド (340)
- モジュール関数 (283)
- 変数 (280)
- 定数 (62)
ライブラリ
- English (78)
- ビルトイン (486)
- base64 (4)
- bigdecimal (3)
- continuation (2)
- delegate (3)
- digest (3)
- getopts (1)
-
irb
/ xmp (3) - json (6)
-
minitest
/ spec (2) - mkmf (259)
- open-uri (6)
- optparse (3)
- parsearg (5)
- pathname (3)
- pp (3)
-
psych
/ core _ ext (4) - rake (18)
- rational (1)
- rubygems (2)
-
rubygems
/ custom _ require (2) -
rubygems
/ timer (2) - scanf (6)
- syck (2)
- timeout (6)
-
tk
/ autoload (9) - tkclass (3)
- un (36)
- uri (3)
- yaml (1)
キーワード
-
$ ! (3) -
$ " (3) -
$ $ (3) -
$ & (3) -
$ ' (3) -
$ * (3) -
$ + (3) -
$ , (3) -
$ -0 (3) -
$ -F (3) -
$ -I (3) -
$ -K (3) -
$ -W (2) -
$ -a (3) -
$ -d (3) -
$ -i (3) -
$ -l (3) -
$ -p (3) -
$ -v (3) -
$ -w (3) -
$ . (3) -
$ / (3) -
$ 0 (3) -
$ 1 (3) -
$ 10 (3) -
$ 11 (3) -
$ 2 (3) -
$ 3 (3) -
$ 4 (3) -
$ 5 (3) -
$ 6 (3) -
$ 7 (3) -
$ 8 (3) -
$ 9 (3) -
$ : (3) -
$ ; (3) -
$ < (3) -
$ = (3) -
$ > (3) -
$ ? (3) -
$ @ (3) -
$ ARGV (3) -
$ CFLAGS (3) -
$ CHILD _ STATUS (3) -
$ DEBUG (3) -
$ DEFAULT _ INPUT (3) -
$ DEFAULT _ OUTPUT (3) -
$ ERROR _ INFO (3) -
$ ERROR _ POSITION (3) -
$ FIELD _ SEPARATOR (3) -
$ FILENAME (3) -
$ FS (3) -
$ IGNORECASE (3) -
$ INPUT _ LINE _ NUMBER (3) -
$ INPUT _ RECORD _ SEPARATOR (3) -
$ KCODE (3) -
$ LAST _ MATCH _ INFO (3) -
$ LAST _ PAREN _ MATCH (3) -
$ LAST _ READ _ LINE (3) -
$ LDFLAGS (3) -
$ LOADED _ FEATURES (3) -
$ LOAD _ PATH (3) -
$ MATCH (3) -
$ NR (3) -
$ OFS (3) -
$ ORS (3) -
$ OUTPUT _ FIELD _ SEPARATOR (3) -
$ OUTPUT _ RECORD _ SEPARATOR (3) -
$ PID (3) -
$ POSTMATCH (3) -
$ PREMATCH (3) -
$ PROCESS _ ID (3) -
$ PROGRAM _ NAME (6) -
$ RS (3) -
$ SAFE (3) -
$ VERBOSE (3) -
$ \ (3) -
$ _ (3) -
$ ` (3) -
$ archdir (3) -
$ deferr (1) -
$ defout (1) -
$ defs (3) -
$ hdrdir (3) -
$ libdir (3) -
$ libs (3) -
$ sitearchdir (3) -
$ sitelibdir (3) -
$ srcdir (3) -
$ stderr (3) -
$ stdin (3) -
$ stdout (3) -
$ topdir (3) -
$ ~ (3) - ARGF (3)
- ARGV (3)
- Array (3)
- BigDecimal (3)
- CONFIG (3)
- Complex (4)
- DATA (3)
- DelegateClass (3)
- Digest (3)
- ENV (3)
- FALSE (3)
- Float (3)
- Integer (3)
- JSON (2)
- Mainloop (3)
- NIL (3)
- PLATFORM (1)
- Pathname (3)
-
RELEASE
_ DATE (1) -
RUBY
_ COPYRIGHT (3) -
RUBY
_ DESCRIPTION (3) -
RUBY
_ ENGINE (2) -
RUBY
_ PATCHLEVEL (3) -
RUBY
_ PLATFORM (3) -
RUBY
_ RELEASE _ DATE (3) -
RUBY
_ VERSION (3) - Rational (3)
-
SCRIPT
_ LINES _ _ (3) - STDERR (3)
- STDIN (3)
- STDOUT (3)
- String (3)
-
TOPLEVEL
_ BINDING (3) - TRUE (3)
- TkGrid (3)
- TkPack (3)
- TkPlace (3)
- URI (3)
- VERSION (1)
-
_ _ callee _ _ (2) -
_ _ method _ _ (3) - ` (3)
- abort (3)
-
at
_ exit (3) - autoload (3)
- autoload? (3)
- b64encode (1)
- binding (3)
-
block
_ given? (3) - callcc (3)
- caller (3)
- catch (5)
-
cc
_ command (3) -
check
_ signedness (2) -
check
_ sizeof (6) - chmod (3)
- chomp (1)
- chomp! (1)
- chop (1)
- chop! (1)
-
convertible
_ int (4) - cp (3)
-
cpp
_ command (3) -
create
_ header (3) -
create
_ makefile (3) -
create
_ tmpsrc (3) - decode64 (1)
-
decode
_ b (1) -
depend
_ rules (2) - desc (2)
- describe (2)
-
dir
_ config (3) - directory (2)
-
dummy
_ makefile (3) -
egrep
_ cpp (6) -
enable
_ config (6) - encode64 (1)
- eval (6)
- exec (10)
- exit (3)
- exit! (3)
- fail (9)
- file (2)
-
file
_ create (2) -
find
_ executable (3) -
find
_ header (3) -
find
_ library (6) -
find
_ type (6) - fork (6)
- format (3)
- gem (2)
- getc (1)
- getopts (1)
- gets (3)
-
global
_ variables (3) - gsub (2)
- gsub! (2)
-
have
_ devel? (3) -
have
_ framework (2) -
have
_ func (6) -
have
_ header (6) -
have
_ library (6) -
have
_ macro (6) -
have
_ struct _ member (6) -
have
_ type (6) -
have
_ var (6) - help (3)
- httpd (2)
- import (2)
- install (3)
-
install
_ files (3) -
install
_ rb (3) - iterator? (3)
- j (2)
- jj (2)
- lambda (6)
- libpathflag (3)
-
link
_ command (3) - ln (3)
- load (3)
-
local
_ variables (3) -
log
_ src (3) - loop (3)
-
merge
_ libs (3) - mkdir (3)
- mkmf (2)
- modified? (3)
- multitask (2)
- mv (3)
- namespace (2)
- open (12)
- p (3)
- parseArgs (1)
- pp (3)
- print (3)
- printUsageAndExit (1)
- printf (6)
- proc (6)
-
psych
_ y (2) - putc (3)
- puts (3)
- raise (9)
- rand (3)
- readline (3)
- readlines (3)
- require (5)
-
require
_ relative (2) - rm (3)
-
rm
_ f (3) -
rm
_ rf (3) - rmdir (3)
- rule (2)
- scan (2)
- scanf (6)
- select (3)
- setExpression (1)
- setOrAnd (1)
- setParenthesis (1)
-
set
_ trace _ func (6) - sleep (6)
- spawn (8)
- split (1)
- sprintf (3)
- srand (6)
- sub (2)
- sub! (2)
- syscall (3)
- system (10)
- task (2)
- test (6)
- throw (3)
- time (2)
- timeout (6)
- touch (3)
-
trace
_ var (9) - trap (6)
-
try
_ compile (6) -
try
_ constant (6) -
try
_ cpp (6) -
try
_ do (6) -
try
_ func (6) -
try
_ link (6) -
try
_ run (6) -
try
_ static _ assert (6) -
try
_ type (6) -
try
_ var (6) -
untrace
_ var (3) -
wait
_ writable (2) - warn (3)
-
with
_ config (6) -
with
_ werror (6) - xmp (3)
- xpopen (6)
- xsystem (3)
- y (5)
検索結果
先頭5件
-
Kernel
# DelegateClass(superclass) -> object (1) -
クラス 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) -
"MD5"や"SHA1"などのダイジェストを示す文字列 name を指定し、 対応するダイジェストのクラスを取得します。
"MD5"や"SHA1"などのダイジェストを示す文字列 name を指定し、
対応するダイジェストのクラスを取得します。
@param name "MD5"や"SHA1"などのダイジェストを示す文字列を指定します。
@return Digest::MD5やDigest::SHA1などの対応するダイジェストのクラスを返します。インスタンスではなく、クラスを返します。注意してください。
例: Digest::MD、Digest::SHA1、Digest::SHA512のクラス名を順番に出力する。
for a in ["MD5", "SHA1", "SHA512"]
p Dige... -
Kernel
# JSON(object , options = {}) -> object (1) -
第一引数に与えられたオブジェクトの種類によって Ruby のオブジェクトか JSON 形式の文字列を返します。
第一引数に与えられたオブジェクトの種類によって Ruby のオブジェクトか JSON 形式の文字列を返します。
第一引数に文字列のようなオブジェクトを指定した場合は、それを JSON.#parse を用いてパースした結果を返します。
そうでないオブジェクトを指定した場合は、それを JSON.#generate を用いて変換した結果を返します。
@param object 任意のオブジェクトを指定します。
@param options JSON.#parse, JSON.#generate に渡すオプションを指定します。
@see JSON.#parse, JSON.#generate... -
Kernel
# Mainloop (1) -
@todo
@todo -
Kernel
# Pathname(path) -> Pathname (1) -
文字列 path を元に Pathname オブジェクトを生成します。
文字列 path を元に Pathname オブジェクトを生成します。
Pathname.new(path) と同じです。
@param path 文字列、または類似のオブジェクトを与えます。
実際には to_str に反応するオブジェクトなら何でも構いません。 -
Kernel
# TkGrid(*args) (1) -
@todo
@todo
TkGrid.#configure と同じ -
Kernel
# TkPack(*args) (1) -
@todo
@todo
TkPack.#configure と同じ -
Kernel
# TkPlace(*args) (1) -
@todo
@todo
TkPlace.#configure と同じ -
Kernel
# cc _ command(opt = "") -> String (1) -
実際にコンパイルする際に使用するコマンドを返します。
実際にコンパイルする際に使用するコマンドを返します。
@param opt コンパイラに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (1) -
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) -
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) -
与えられた型のサイズを返します。
与えられた型のサイズを返します。
型 type がシステムに存在する場合は、グローバル変数 $defs に
"-DSIZEOF_type=X" を追加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
check_sizeof('mystruct') # => 12
である場合、SIZEOF_MYSTRUCT=12 というプリプロセッサマクロをコンパイラに渡します。
@param type 検査したい型を指定します。
@param headers 追加のヘッダファイルを指定します。 -
Kernel
# check _ sizeof(type , headers = nil) { . . . } -> Integer | nil (1) -
与えられた型のサイズを返します。
与えられた型のサイズを返します。
型 type がシステムに存在する場合は、グローバル変数 $defs に
"-DSIZEOF_type=X" を追加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
check_sizeof('mystruct') # => 12
である場合、SIZEOF_MYSTRUCT=12 というプリプロセッサマクロをコンパイラに渡します。
@param type 検査したい型を指定します。
@param headers 追加のヘッダファイルを指定します。 -
Kernel
# chmod -> () (1) -
ファイルのアクセス権を変更します。
ファイルのアクセス権を変更します。
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) -
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) -
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
# cp -> () (1) -
ファイルやディレクトリをコピーします。
ファイルやディレクトリをコピーします。
ruby -run -e cp -- [OPTION] SOURCE DEST
-p 可能であればファイルの属性を保持します。
-r 再帰的にコピーします。
-v 詳細表示
@see cp(1) -
Kernel
# cpp _ command(outfile , opt = "") -> String (1) -
実際にプリプロセッサを実行する際に使用するコマンドを返します。
実際にプリプロセッサを実行する際に使用するコマンドを返します。
@param outfile 出力ファイルの名前を指定します。
@param opt プリプロセッサに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand -
Kernel
# create _ header(header = "extconf . h") -> String (1) -
Kernel#have_func, Kernel#have_header などの検査結果を元に、 ヘッダファイルを生成します。
...
Kernel#have_func, Kernel#have_header などの検査結果を元に、
ヘッダファイルを生成します。
このメソッドは extconf.rb の最後で呼び出すようにしてください。
@param header ヘッダファイルの名前を指定します。
@return ヘッダファイ... -
Kernel
# create _ makefile(target , srcprefix = nil) -> true (1) -
@todo
...@todo
Kernel#have_library などの各種検査の結果を元に、拡張ライブラリを
ビルドするための Makefile を生成します。
extconf.rb は普通このメソッドの呼び出しで終ります。
@param target ターゲットとなる拡張ライブラリの名前を指... -
Kernel
# create _ tmpsrc(src) -> String (1) -
与えられた C プログラムのソースコードを一時ファイルに出力して与えられたソースコードを返します。
与えられた C プログラムのソースコードを一時ファイルに出力して与えられたソースコードを返します。
@param src C プログラムのソースコードを指定します。 -
Kernel
# depend _ rules(depend) -> Array (1) -
ファイルの依存関係の書かれた depend ファイルの内容を処理します。
ファイルの依存関係の書かれた depend ファイルの内容を処理します。
@param depend depend ファイルの内容を指定します。
@return 見つかった依存関係を Makefile 形式で返します。 -
Kernel
# desc(description) -> String (1) -
直後の Rake タスクの説明を登録します。
直後の Rake タスクの説明を登録します。
@param description 直後のタスクの説明を指定します。
例:
desc "Run the Unit Tests"
task :test => [:build]
runtests
end -
Kernel
# describe(desc) { . . . } (1) -
与えられた説明文から名前を作成してテストクラスを定義します。
与えられた説明文から名前を作成してテストクラスを定義します。
クラスの定義は、与えられたブロックの内容になります。
@param desc ブロックに対する説明を指定します。 -
Kernel
# dir _ config(target , idefault = nil , ldefault = nil) -> [String , String] (1) -
configure オプション --with-TARGET-dir, --with-TARGET-include, --with-TARGET-lib をユーザが extconf.rb に指定できるようにします。
configure オプション
--with-TARGET-dir,
--with-TARGET-include,
--with-TARGET-lib
をユーザが extconf.rb に指定できるようにします。
--with-TARGET-dir オプションは
システム標準ではない、
ヘッダファイルやライブラリがあるディレクトリをまとめて指定するために使います。
ユーザが extconf.rb に --with-TARGET-dir=PATH を指定したときは
$CFLAGS に "-IPATH/include" を、
$LDFLAGS に "-LPATH/lib" を、
それぞれ追加し... -
Kernel
# directory(dir) -> () (1) -
与えられたディレクトリを作成するタスクを定義します。
与えられたディレクトリを作成するタスクを定義します。
@param dir 作成するディレクトリを指定します。
例:
directory 'testdata/doc' -
Kernel
# dummy _ makefile(srcdir) -> String (1) -
ダミーの Makefile を作成します。
ダミーの Makefile を作成します。
@param srcdir ソースディレクトリを指定します。 -
Kernel
# egrep _ cpp(pattern , src , opt = "") -> bool (1) -
C プログラムのソースコード src をプリプロセスし、 その結果が正規表現 pattern にマッチするかどうかを判定します。
C プログラムのソースコード src をプリプロセスし、
その結果が正規表現 pattern にマッチするかどうかを判定します。
CPP $CFLAGS opt | egrep pat
を実行し、その結果が正常かどうかを true または false で返します。
このメソッドはヘッダファイルに関数などの宣言があるかどうか
検査するために使用します。
@param pattern 「egrep の」正規表現を文字列で指定します。
Ruby の正規表現ではありません。
@param src C 言語のソースコードを文字列で記述します。
@see ... -
Kernel
# egrep _ cpp(pattern , src , opt = "") { . . . } -> bool (1) -
C プログラムのソースコード src をプリプロセスし、 その結果が正規表現 pattern にマッチするかどうかを判定します。
C プログラムのソースコード src をプリプロセスし、
その結果が正規表現 pattern にマッチするかどうかを判定します。
CPP $CFLAGS opt | egrep pat
を実行し、その結果が正常かどうかを true または false で返します。
このメソッドはヘッダファイルに関数などの宣言があるかどうか
検査するために使用します。
@param pattern 「egrep の」正規表現を文字列で指定します。
Ruby の正規表現ではありません。
@param src C 言語のソースコードを文字列で記述します。
@see ... -
Kernel
# enable _ config(config , default) -> bool | String (1) -
configure のオプションを検査します。
configure のオプションを検査します。
configure のオプションに --enable-<config> が指定された場合は、真を返し
ます。--disable-<config> が指定された場合は。偽を返します。どちらでもな
い場合は default を返します。
これはデバッグ情報などのカスタム定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
if enable_config("debug")
$defs.push("-DOS... -
Kernel
# enable _ config(config , default) {|config , default| . . . } -> bool | String (1) -
configure のオプションを検査します。
configure のオプションを検査します。
configure のオプションに --enable-<config> が指定された場合は、真を返し
ます。--disable-<config> が指定された場合は。偽を返します。どちらでもな
い場合は default を返します。
これはデバッグ情報などのカスタム定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
if enable_config("debug")
$defs.push("-DOS... -
Kernel
# file(*args) { . . . } -> Rake :: FileTask (1) -
ファイルタスクを定義します。
ファイルタスクを定義します。
@param args ファイル名と依存ファイル名を指定します。
例:
file "config.cfg" => ["config.template"] do
open("config.cfg", "w") do |outfile|
open("config.template") do |infile|
while line = infile.gets
outfile.puts line
end
end
end
end
@see Rake:... -
Kernel
# file _ create(*args) { . . . } -> Rake :: FileCreationTask (1) -
ファイルを作成するタスクを定義します。
...ファイルを作成するタスクを定義します。
主に Kernel.#directory を定義するために使用します。... -
Kernel
# find _ executable(bin , path = nil) -> String | nil (1) -
パス path から実行ファイル bin を探します。
パス path から実行ファイル bin を探します。
実行ファイルが見つかった場合は、そのフルパスを返します。
実行ファイルが見つからなかった場合は、nilを返します。
このメソッドは Makefile を変更しません。
@param bin 実行ファイルの名前を指定します。
@param path パスを指定します。デフォルトは環境変数 PATH です。
環境変数 PATH が定義されていない場合は /usr/local/bin,
/usr/ucb, /usr/bin, /bin を使います。 -
Kernel
# find _ header(header , *paths) -> bool (1) -
与えられた paths から header を検索し、見つかった場合は真を返します。 そうでない場合は偽を返します。
与えられた paths から header を検索し、見つかった場合は真を返します。
そうでない場合は偽を返します。
ヘッダが見つかったディレクトリをコンパイラに渡すコマンドラインオプショ
ンに追加します(-I オプションを経由します)。
@param header ヘッダを指定します。
@param paths ヘッダを検索するパスを指定します。 -
Kernel
# find _ library(lib , func , *paths) -> bool (1) -
関数 func が定義されたライブラリ lib を探します。
...査してもライブラリ lib が見つからないときは、
変数を変更せず false を返します。
paths を指定しないときは Kernel#have_library と同じ動作です。
@param lib ライブラリ名を指定します。
@param func 関数名を指定します。... -
Kernel
# find _ library(lib , func , *paths) { . . . } -> bool (1) -
関数 func が定義されたライブラリ lib を探します。
...査してもライブラリ lib が見つからないときは、
変数を変更せず false を返します。
paths を指定しないときは Kernel#have_library と同じ動作です。
@param lib ライブラリ名を指定します。
@param func 関数名を指定します。... -
Kernel
# find _ type(type , opt , *headers) -> Array (1) -
静的な型 type がシステムに存在するかどうか検査します。
...な型 type がシステムに存在するかどうか検査します。
@param type 検査したい型の名前を指定します。
@param opt コンパイラに渡す追加のオプションを指定します。
@param headers 追加のヘッダを指定します。
@see Kernel#have_type...
