るりまサーチ

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

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils cp_r
  5. bigdecimal to_r

検索結果

<< < ... 2 3 4 >>

Resolv::DNS::Resource::TXT#data -> String (9202.0)

TXT レコードの最初の文字列を返します。

TXT レコードの最初の文字列を返します。

Gem::SourceInfoCache#cache_file -> String (6202.0)

使用可能なキャッシュファイル名を返します。

使用可能なキャッシュファイル名を返します。

システムキャッシュが使用可能な場合はシステムキャッシュのファイル名を返します。
そうでない場合はユーザーキャッシュのファイル名を返します。

Gem::SourceInfoCache#latest_cache_file -> String (6202.0)

使用可能な最新のキャッシュファイル名を返します。

...のキャッシュファイル名を返します。

システムキャッシュが使用可能な場合はシステムキャッシュのファイル名を返します。
そうでない場合はユーザーキャッシュのファイル名を返します。

@see Gem::SourceInfoCache#cache_file...

Gem::SourceInfoCache#latest_system_cache_file -> String (6202.0)

最新のシステムキャッシュのファイル名を返します。

最新のシステムキャッシュのファイル名を返します。

Gem::SourceInfoCache#system_cache_file -> String (6202.0)

システムキャッシュファイルの名前を返します。

システムキャッシュファイルの名前を返します。

絞り込み条件を変える

Gem::RemoteFetcher#download(spec, source_uri, install_dir = Gem.dir) -> String (3331.0)

source_uri から取得した Gem パッケージをキャッシュディレクトリに配置します。

...
source
_uri から取得した Gem パッケージをキャッシュディレクトリに配置します。

既に Gem パッケージが存在する場合は、ファイルを置き換えませんが source_uri が
ローカルパス (file://) である場合は常にファイルを置き換えま...
...す。

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

@param source_uri 取得先の URI を指定します。

@param install_dir ダウンロードしたファイルの配置先を指定します。

@return ローカルにコピーした Gem ファイルのパスを...
...返します。

@raise Gem::RemoteFetcher::FetchError...

Method#inspect -> String (221.0)

self を読みやすい文字列として返します。

...self を読みやすい文字列として返します。

以下の形式の文字列を返します。

#<Method: klass1(klass2)#method(arg) foo.rb:2> (形式1)

klass1 は、Method#inspect では、レシーバのクラス名、
UnboundMethod#inspect では、UnboundMethod オブジェクト...
...します。

arg は引数を表します。
「foo.rb:2」は Method#source_location を表します。
source
_location が nil の場合には付きません。

//emlist[例][ruby]{
module Foo
def foo
"foo"
end
end
class Bar
include Foo
def bar(a, b)
end
end

p Bar.new.method(:foo)...
...Bar(Foo)#foo() test.rb:2>
p Bar.new.method(:bar) # => #<Method: Bar#bar(a, b) test.rb:8>
//}

klass1 と klass2 が同じ場合は以下の形式になります。
#<Method: klass1#method() foo.rb:2> (形式2)

特異メソッドに対しては、
#<Method: obj.method() foo.rb...

Method#to_s -> String (221.0)

self を読みやすい文字列として返します。

...self を読みやすい文字列として返します。

以下の形式の文字列を返します。

#<Method: klass1(klass2)#method(arg) foo.rb:2> (形式1)

klass1 は、Method#inspect では、レシーバのクラス名、
UnboundMethod#inspect では、UnboundMethod オブジェクト...
...します。

arg は引数を表します。
「foo.rb:2」は Method#source_location を表します。
source
_location が nil の場合には付きません。

//emlist[例][ruby]{
module Foo
def foo
"foo"
end
end
class Bar
include Foo
def bar(a, b)
end
end

p Bar.new.method(:foo)...
...Bar(Foo)#foo() test.rb:2>
p Bar.new.method(:bar) # => #<Method: Bar#bar(a, b) test.rb:8>
//}

klass1 と klass2 が同じ場合は以下の形式になります。
#<Method: klass1#method() foo.rb:2> (形式2)

特異メソッドに対しては、
#<Method: obj.method() foo.rb...
<< < ... 2 3 4 >>