るりまサーチ

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

別のキーワード

  1. _builtin >
  2. bigdecimal >
  3. module >
  4. float >
  5. complex >

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

MatchData#end(n) -> Integer | nil (18238.0)

n 番目の部分文字列終端のオフセットを返します。

...IndexError 範囲外の n を指定した場合に発生します。

//emlist[例][ruby]{
/(foo)(bar)(BAZ)?/ =~ "foobarbaz"
p $~.end(0) # => 6
p $~.end(1) # => 3
p $~.end(2) # => 6
p $~.end(3) # => nil
p $~.end(4) # => `end': index 4 out of matches (IndexError)
//}

@see MatchData#begin...

Range#end -> object (18203.0)

終端の要素を返します。範囲オブジェクトが終端を含むかどうかは関係ありま せん。

...終端の要素を返します。範囲オブジェクトが終端を含むかどうかは関係ありま
せん。

//emlist[例][ruby]{
(10..20).last # => 20
(10...20).last # => 20
//}

@see Range#begin...

Enumerator::ArithmeticSequence#end -> Numeric | nil (18202.0)

末項(終端)を返します。

末項(終端)を返します。

@see Enumerator::ArithmeticSequence#begin

Module#>(other) -> bool | nil (18155.0)

比較演算子。 self が other の先祖である場合、true を返します。 self が other の子孫か同一クラスである場合、false を返します。

...wesome; end
module Included
include Awesome
end

module Prepended
prepend Awesome
end


Included.ancestors # => [Included, Awesome]
Awesome > Included # => true
Included > Awesome # => false

Prepended.ancestors # => [Awesome, Prepended]
Awesome > Prepended # => true
Prepended > Awesome # => false...
...Awesome > Awesome # => false
Awesome > Object # => nil
//}...

Zlib::ZStream#end -> nil (15202.0)

ストリームを閉じます。 以後、このストリームにアクセスすることはできなくなります。

ストリームを閉じます。
以後、このストリームにアクセスすることはできなくなります。

絞り込み条件を変える

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

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

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

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

Gem::Commands::DependencyCommand#print_dependencies(spec, level = 0) -> String (9201.0)

依存関係を表す文字列を返します。

依存関係を表す文字列を返します。

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

@param level 依存関係の深さを指定します。

Gem::DependencyInstaller#gather_dependencies -> Array (9201.0)

依存関係を無視するように指定されていない限り、インストールするように指定された Gem が依存している Gem の情報を集めて返します。

依存関係を無視するように指定されていない限り、インストールするように指定された
Gem が依存している Gem の情報を集めて返します。

Gem::DependencyList#dependency_order -> [Gem::Specification] (9201.0)

依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。

...If there are circular dependencies (yuck!), then gems will be
returned in order until only the circular dependents and anything
they reference are left. Then arbitrary gemspecs will be returned
until the circular dependency is broken, after which gems will be
returned in dependency order again....
<< 1 2 3 ... > >>