ライブラリ
- ビルトイン (12)
-
cgi
/ core (12) -
fiddle
/ import (24) - json (12)
- mkmf (60)
-
net
/ ftp (20) -
net
/ imap (36) - openssl (72)
- pathname (9)
- rake (24)
- resolv (12)
-
rubygems
/ specification (24) -
rubygems
/ version (12) -
win32
/ registry (36)
クラス
- Binding (12)
- Class (12)
-
Gem
:: Specification (24) -
Gem
:: Version (12) -
Net
:: FTP :: MLSxEntry (20) -
Net
:: IMAP (36) -
OpenSSL
:: X509 :: ExtensionFactory (72) - Pathname (9)
-
Resolv
:: DNS :: Name (12) -
Win32
:: Registry (36)
モジュール
-
CGI
:: QueryExtension (12) -
Fiddle
:: Importer (24) - Kernel (72)
-
Rake
:: TaskManager (12)
キーワード
-
create
_ body (12) -
create
_ ext (12) -
create
_ ext _ from _ array (12) -
create
_ ext _ from _ hash (12) -
create
_ ext _ from _ string (12) -
create
_ extension (24) -
create
_ header (12) -
create
_ makefile (12) -
create
_ rule (12) -
create
_ tmpsrc (12) -
create
_ value (12) - created? (12)
- empty? (9)
- eql? (12)
- facts (10)
-
file
_ create (12) -
install
_ files (12) -
install
_ rb (12) -
json
_ creatable? (12) - keyname (12)
- list (12)
-
local
_ variable _ set (12) -
required
_ ruby _ version= (12) -
required
_ rubygems _ version= (12) -
subdomain
_ of? (12) - value (12)
- xlist (12)
検索結果
先頭5件
- OpenSSL
:: X509 :: ExtensionFactory # create _ ext(oid , value , critical = false) -> OpenSSL :: X509 :: Extension - Fiddle
:: Importer # value(type , val = nil) -> Fiddle :: CStruct - Resolv
:: DNS :: Name # subdomain _ of?(other) -> bool - Gem
:: Version # eql?(other) -> bool - Kernel
# install _ files(mfile , ifiles , map = nil , srcprefix = nil) -> []
-
OpenSSL
:: X509 :: ExtensionFactory # create _ ext(oid , value , critical = false) -> OpenSSL :: X509 :: Extension (6102.0) -
OpenSSL::X509::Extension のインスタンスを生成して返します。
OpenSSL::X509::Extension のインスタンスを生成して返します。
@param oid 拡張領域の識別子を表す文字列
@param value 拡張領域の値を表す文字列
@param critical 重要度(真偽値) -
Fiddle
:: Importer # value(type , val = nil) -> Fiddle :: CStruct (3002.0) -
型が type で要素名が "value" であるような構造体を 定義(Fiddle::Importer#struct)し、 その構造体のメモリを Fiddle::CStruct#malloc で確保し、 確保したメモリを保持しているオブジェクトを返します。
型が type で要素名が "value" であるような構造体を
定義(Fiddle::Importer#struct)し、
その構造体のメモリを Fiddle::CStruct#malloc で確保し、
確保したメモリを保持しているオブジェクトを返します。
type は "int", "void*" といった文字列で型を指定します。
val に nil 以外を指定すると、確保された構造体に
その値を代入します。
@param type 型を表す文字列
@param val 構造体に確保される初期値
例
require 'fiddle/import'
module M
... -
Resolv
:: DNS :: Name # subdomain _ of?(other) -> bool (43.0) -
other が self のサブドメインであるかどうかを返します。
..."
domain = Resolv::DNS::Name.create("y.z")
p Resolv::DNS::Name.create("w.x.y.z").subdomain_of?(domain) #=> true
p Resolv::DNS::Name.create("x.y.z").subdomain_of?(domain) #=> true
p Resolv::DNS::Name.create("y.z").subdomain_of?(domain) #=> false
p Resolv::DNS::Name.create("z").subdomain_of?(domain) #......=> false
p Resolv::DNS::Name.create("x.y.z.").subdomain_of?(domain) #=> false
p Resolv::DNS::Name.create("w.z").subdomain_of?(domain) #=> false
//}... -
Gem
:: Version # eql?(other) -> bool (19.0) -
self と other の Gem::Version#version のバージョンが等しいとき true を返します。 そうでなければ false を返します。
...と "1" は異なるものと判定します。
//emlist[][ruby]{
ver0 = Gem::Version.create('1.0') # #<Gem::Version "1.0">
ver1 = Gem::Version.create('1.0') # #<Gem::Version "1.0">
ver2 = Gem::Version.create('1') # #<Gem::Version "1">
p ver0.eql?(ver1) # => true
p ver1.eql?(ver2)... -
Kernel
# install _ files(mfile , ifiles , map = nil , srcprefix = nil) -> [] (17.0) -
このメソッドは create_makefile, install_rb が使用します。 内部用のメソッドです。
...このメソッドは create_makefile, install_rb が使用します。
内部用のメソッドです。
@param mfile Makefile を表す File のインスタンスです。
@param ifiles インストールするファイルのリストを指定します。
@param map ???
@param srcprefix ソ... -
Kernel
# install _ rb(mfile , dest , srcdir = nil) -> Array (17.0) -
このメソッドは create_makefile が使用します。 内部用のメソッドです。
...このメソッドは create_makefile が使用します。
内部用のメソッドです。
ディレクトリ srcdir/lib 配下の Ruby スクリプト (*.rb ファイル)
を dest にインストールするための Makefile 規則を mfile に出力します。
srcdir/lib のディレクト... -
Class
# json _ creatable? -> bool (13.0) -
シリアライズされた JSON 形式の文字列から、インスタンスを作成するのにこのクラスを使用できる場合は 真を返します。そうでない場合は、偽を返します。
...そうでない場合は、偽を返します。
このメソッドが真を返すクラスは json_create というメソッドを実装していなければなりません。
また json_create の第一引数は必要なデータを含むハッシュを期待しています。
//emlist[例][rub... -
Net
:: IMAP # list(refname , mailbox) -> [Net :: IMAP :: MailboxList] | nil (13.0) -
LIST コマンドを送り、クライアントから利用可能なメールボックス名の集合から 引数にマッチするものすべてを返します。
...lbox 調べるメールボックスの名前(文字列)。ワイルドカードを含んでいてもかまいません。
例:
imap.create("foo/bar")
imap.create("foo/baz")
p imap.list("", "foo/%")
#=> [#<Net::IMAP::MailboxList attr=[:Noselect], delim="/", name="foo/">, #<Net::IMAP::Mailbox... -
Net
:: IMAP # xlist(refname , mailbox) -> [Net :: IMAP :: MailboxList] (13.0) -
XLISTコマンドを送り、クライアントから利用可能なメールボックス名の集合から 引数にマッチするものすべてを返します。
...lbox 調べるメールボックスの名前(文字列)。ワイルドカードを含んでいてもかまいません。
例:
imap.create("foo/bar")
imap.create("foo/baz")
p imap.xlist("", "foo/%")
#=> [#<Net::IMAP::MailboxList attr=[:Noselect], delim="/", name="foo/">, \\
# #<Net::IM... -
Binding
# local _ variable _ set(symbol , obj) (7.0) -
引数 symbol で指定した名前のローカル変数に引数 obj を設定します。
...[例][ruby]{
def foo
a = 1
bind = binding
bind.local_variable_set(:a, 2) # set existing local variable `a'
bind.local_variable_set(:b, 3) # create new local variable `b'
# `b' exists only in binding
p bind.local_variable_get(:a) # => 2
p bind.local_varia...