るりまサーチ

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

別のキーワード

  1. specification bindir
  2. specification load
  3. specification files
  4. specification list
  5. specification _load

検索結果

<< 1 2 > >>

Gem::GemPathSearcher#find(path) -> Gem::Specification | nil (18224.0)

与えられたパスにマッチする Gem::Specification を一つだけ返します。

...与えられたパスにマッチする Gem::Specification を一つだけ返します。

@see Enumerable#find...

Gem::DependencyList#find_name(full_name) -> Gem::Specification | nil (6224.0)

自身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。

...身に含まれる与えられた名前を持つ Gem::Specification のインスタンスを返します。

見つからなかった場合は nil を返します。

@param full_name バージョンを含むフルネームで Gem の名前を指定します。

@see Gem::Specification#full_name...

Gem::GemPathSearcher#find_all(path) -> [Gem::Specification] (6224.0)

与えられたパスにマッチする Gem::Specification を全て返します。

...与えられたパスにマッチする Gem::Specification を全て返します。

@see Enumerable#find_all...

Gem::SourceIndex#find_name(gem_name, version_requirement = Gem::Requirement.default) -> Gem::Specification (6202.0)

短い名前で正確にマッチする Gem を返します。

短い名前で正確にマッチする Gem を返します。

@param gem_name Gem の名前を指定します。

@param version_requirement

@see Gem::Requirement

Gem::DependencyInstaller#find_gems_with_sources(dep) -> Array (6117.0)

与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを 返します。

...与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを
返します。

Gem はローカル (Dir.pwd) とリモート (Gem.sources) の両方から検索します。
結果は、バージョンの新しい順が先にきます。また、ロ...

絞り込み条件を変える

Gem::DependencyInstaller#find_spec_by_name_and_version(gem_name, version = Gem::Requirement.default) -> Array (6117.0)

与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。

...与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification
それの存在する URI を含む配列を返します。

@param gem_name Gem の名前を指定します。

@param version Gem が満たすバージョンに関する条件を指定しま...

Gem::Commands::DependencyCommand#find_reverse_dependencies(spec) -> Array (6107.0)

与えられた Gem スペックに依存する Gem のリストを返します。

...与えられた Gem スペックに依存する Gem のリストを返します。

@param spec Gem::Specification のインスタンスを指定します。...

Array#pack(template) -> String (12.0)

配列の内容を template で指定された文字列にしたがって、 バイナリとしてパックした文字列を返します。

...ビットはどこまでデータがあ
るかを示している)。

ISO/IEC 8825-1:1995 : Information technology−ASN.1 encoding rules : Specification of Basic Encoding Rules(BER) に定められる整数の符号化方法。

//emlist[][ruby]{
[0].pack("w") # => "\x00"
[1].pack("...
...emlist[][ruby]{
require 'socket'
official_hostname, alias_hostnames, address_family, *address_list = Socket.gethostbyname("localhost")
address_list.find {|address| address.size == 4 }.unpack("C4").join(".")
# => "127.0.0.1"

"127.0.0.1".split(".").collect {|c| c.to_i}.pack("C4")
# => "\x7F\x00\x00\x...

Array#pack(template, buffer: String.new) -> String (12.0)

配列の内容を template で指定された文字列にしたがって、 バイナリとしてパックした文字列を返します。

...ビットはどこまでデータがあ
るかを示している)。

ISO/IEC 8825-1:1995 : Information technology−ASN.1 encoding rules : Specification of Basic Encoding Rules(BER) に定められる整数の符号化方法。

//emlist[][ruby]{
[0].pack("w") # => "\x00"
[1].pack("...
...emlist[][ruby]{
require 'socket'
official_hostname, alias_hostnames, address_family, *address_list = Socket.gethostbyname("localhost")
address_list.find {|address| address.size == 4 }.unpack("C4").join(".")
# => "127.0.0.1"

"127.0.0.1".split(".").collect {|c| c.to_i}.pack("C4")
# => "\x7F\x00\x00\x...
<< 1 2 > >>