るりまサーチ

最速Rubyリファレンスマニュアル検索!
576件ヒット [1-100件を表示] (0.104秒)

別のキーワード

  1. _builtin name
  2. resolv each_name
  3. openssl name
  4. win32ole name
  5. net/imap name

検索結果

<< 1 2 3 ... > >>

Fiddle::Function#name -> nil | String (21102.0)

関数の名前を返します。

...関数の名前を返します。

名前が定義されていない場合は nil を返します。

@see Fiddle::Function.new...

OpenSSL::Engine#name -> String (18114.0)

engine の(人間に読みやすい)名称を文字列で返します。

...engine の(人間に読みやすい)名称を文字列で返します。

例:
engine.name # => "Atalla hardware engine support"

@see OpenSSL::Engine#id...

OpenSSL::Engine#id -> String (18108.0)

engine の識別子を文字列で返します。

...engine の識別子を文字列で返します。

@see OpenSSL::Engine#name...

Module#name -> String | nil (15150.0)

モジュールやクラスの名前を文字列で返します。

...ル / クラスに対しては、name は nil を、それ以外はオブジェクト ID の文字列を返します。

//emlist[例][ruby]{
module A
module B
end

p B.name #=> "A::B"

class C
end
end

p A.name #=> "A"
p A::B.name #=> "A::B"
p A::C.name #=> "A::C"

# 名前のない...
...モジュール / クラス
p Module.new.name #=> nil
p Class.new.name #=> nil
p Module.new.to_s #=> "#<Module:0x00007f90b09112c8>"
p Class.new.to_s #=> "#<Class:0x00007fa5c40b41b0>"
//}...

Symbol#id2name -> String (12233.0)

シンボルに対応する文字列を返します。

...シンボルに対応する文字列を返します。

逆に、文字列に対応するシンボルを得るには
String#intern を使います。

p :foo.id2name # => "foo"
p :foo.id2name.intern == :foo # => true

@see String#intern...
...シンボルに対応する文字列を返します。

逆に、文字列に対応するシンボルを得るには
String#intern を使います。

p :foo.id2name # => "foo"
p :foo.id2name.intern == :foo # => true

@see String#intern
@see Symbol#name...

絞り込み条件を変える

OpenSSL::ASN1::ObjectId#short_name -> String | nil (9118.0)

オブジェクト識別子に対応する short name を返します。

...オブジェクト識別子に対応する short name を返します。

例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.sn #=> "subjectAltName"

@see OpenSSL::ASN1::ObjectId#ln...

Encoding::InvalidByteSequenceError#destination_encoding_name -> String (9102.0)

エラーを発生させた変換の変換先のエンコーディングを文字列で返します。

...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。

@see Encoding::InvalidByteSequenceError#destination_encoding...

Encoding::InvalidByteSequenceError#source_encoding_name -> Encoding (9102.0)

エラーを発生させた変換の変換元のエンコーディングを文字列で返します。

...エラーを発生させた変換の変換元のエンコーディングを文字列で返します。

@see Encoding::InvalidByteSequenceError#source_encoding...

Pathname#setgid? -> bool (9101.0)

FileTest.setgid?(self.to_s) と同じです。

...FileTest.setgid?(self.to_s) と同じです。


@see FileTest.#setgid?...
<< 1 2 3 ... > >>