るりまサーチ

最速Rubyリファレンスマニュアル検索!
365件ヒット [201-300件を表示] (0.083秒)

別のキーワード

  1. tempfile create
  2. resolv create
  3. registry create
  4. win32/registry create
  5. openssl create

検索結果

<< < 1 2 3 4 > >>

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...

絞り込み条件を変える

<< < 1 2 3 4 > >>