るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle sizeof_size_t

キーワード

検索結果

<< < 1 2 3 4 5 ... > >>

Resolv::DNS::Resource::SOA#retry -> Integer (21201.0)

セカンダリサーバがプライマリサーバからの情報更新に失敗した場合に 何秒後にリトライするかを返します。

セカンダリサーバがプライマリサーバからの情報更新に失敗した場合に
何秒後にリトライするかを返します。

RSS::Maker::RSS20::Items::Item::Source#content (21101.0)

@todo

...@todo...

RSS::Maker::RSS20::Items::Item::Source#content=() (21101.0)

@todo

...@todo...

Gem::ConfigFile#update_sources=(update_sources) (18601.0)

Gem::SourceInfoCache を毎回更新するかどうか設定します。

...Gem::SourceInfoCache を毎回更新するかどうか設定します。

@param update_sources 真を指定すると毎回 Gem::SourceInfoCache を更新します。...

Resolv::DNS::Resource::TXT#strings -> [String] (18401.0)

TXT レコードの文字列を配列で返します。

...TXT レコードの文字列を配列で返します。...

絞り込み条件を変える

Module#const_source_location(name, inherited = true) -> [String, Integer] (18368.0)

name で指定した定数の定義を含むソースコードのファイル名と行番号を配列で返します。

...す。

@param name Symbol,String で定数の名前を指定します。
@param inherited true を指定するとスーパークラスや include したモジュールで定義された定数が対象にはなります。false を指定した場合 対象にはなりません。
@return ソース...
...st[例][ruby]{
# test.rb:
class A # line 1
C1 = 1
C2 = 2
end

module M # line 6
C3 = 3
end

class B < A # line 10
include M
C4 = 4
end

class A # 継続して A を定義する
C2 = 8 # 定数を再定義する
end

p B.const_source_location('C4') # => ["test...
....rb", 12]
p B.const_source_location('C3') # => ["test.rb", 7]
p B.const_source_location('C1') # => ["test.rb", 2]

p B.const_source_location('C3', false) # => nil -- include したモジュールは検索しない

p A.const_source_location('C2') # => ["test.rb", 16...

Proc#source_location -> [String, Integer] | nil (18332.0)

ソースコードのファイル名と行番号を配列で返します。

... ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。


//emlist[例][ruby]{
# /path/to/target.rb を実行
proc {}.source_location # => ["/path/to/target.rb", 1]
proc {}.source_location # => ["/path/to/target.rb", 2]
(eval "proc...
...{}").source_location # => ["(eval)", 1]
method(:p).to_proc.source_location # => nil
//}

@see Method#source_location...

UnboundMethod#source_location -> [String, Integer] | nil (18326.0)

ソースコードのファイル名と行番号を配列で返します。

... ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。

//emlist[例][ruby]{
r
equire 'time'

T
ime.instance_method(:zone).source_location # => nil
T
ime.instance_method(:httpdate).source_location # => ["/Users/user/.rbenv/versions/2.4.3/lib/rub...
...y/2.4.0/time.rb", 654]
//}

@see Proc#source_location, Method#source_location...

Method#source_location -> [String, Integer] | nil (18320.0)

ソースコードのファイル名と行番号を配列で返します。

... ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。

@see Proc#source_location

//emlist[例][ruby]{
# ------- /tmp/foo.rb ---------
class Foo
def foo; end
end
# ----- end of /tmp/foo.rb ----

r
equire '/tmp/foo'

m = Foo.new.method(:foo) # => #<Met...
...hod: Foo#foo>
m.source_location # => ["/tmp/foo.rb", 2]

method(:puts).source_location # => nil
//}...
<< < 1 2 3 4 5 ... > >>