るりまサーチ

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

別のキーワード

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

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

RDoc::CodeObject#section -> RDoc::Context::Section (21319.0)

所属している section を返します。

...所属している section を返します。...

OpenSSL::Config#section(sec) -> {String => String} (15308.0)

指定したセクションの設定情報をハッシュで返します。

...指定したセクションの設定情報をハッシュで返します。

ハッシュのキーが設定情報のキー、ハッシュの値が対応する情報となります。

section
は obsolete です。[] を使ってください。

@param sec セクションを表す文字列...

RDoc::Context#current_section -> RDoc::Context::Section (12319.0)

現在の section を返します。

...現在の section を返します。...

RDoc::Context#set_current_section(title, comment) -> () (12202.0)

Handle sections

...Handle sections...

Array#intersection(*other_arrays) -> Array (12201.0)

自身と引数に渡された配列の共通要素を新しい配列として返します。 要素が重複する場合は、そのうちの1つのみを返します。 要素の順序は自身の順序を維持します。

...持します。

@param other_arrays 自身と共通要素を取りたい配列を指定します。
配列以外のオブジェクトを指定した場合は to_ary
メソッドによる暗黙の型変換を試みます。

@raise TypeError 引数に配列以...
...に発生します。

intersectionはObject#hashとObject#eql?を使って比較を行います。

//emlist[例][ruby]{
[1, 1, 3, 5].intersection([3, 2, 1]) # => [1, 3]
["a", "b", "z"].intersection(["a", "b", "c"], ["b"]) # => ["b"]
["a"].intersection...
...# => ["a"]
//}

@see Set#intersection, Array#&...

絞り込み条件を変える

RDoc::Context#sections -> RDoc::Context::Section (9318.0)

追加された RDoc::Context::Section の配列を返します。

...追加された RDoc::Context::Section の配列を返します。...

RDoc::CodeObject#section=(val) (9124.0)

所属する section を設定します。

...所属する section を設定します。

@param val RDoc::Context::Section オブジェクトを指定します。...

URI::Generic#merge!(rel) -> self (9107.0)

与えられたパス rel を自身へ連結します。

... rel を自身へ連結します。

2396 の Section 5.2 の仕様に従います。
r
el が文字列の場合は URI.parse(rel) によって、URI に変換してから連結します。

@param rel 連結したいパスを文字列か URI オブジェクトで与えます。

例:
r
equire 'uri'...
...u = URI.parse('http://example.com/')
u.merge!('/foo/bar.html')
p u.to_s #=> http://example.com/foo/bar.html...

URI::Generic#merge(rel) -> URI::Generic (9107.0)

自身と与えられたパス rel を連結した新しい URI オブジェクトを生成して返します。

...パス rel を連結した新しい URI オブジェクトを生成して返します。

3986 の Section 5.2 の仕様に従います。
r
el が文字列の場合は URI.parse(rel) によって、URI に変換してから連結します。


@param rel 連結したいパスを文字列か URI オ...
...:
r
equire 'uri'
p URI.parse('http://example.com/') + '/foo/bar.html'
#=> #<URI::HTTP:0x201001c0 URL:http://example.com/foo/bar.html>
URI('http://a/b/c/d;p?q').merge('?y') #=> #<URI::HTTP:0xb7ca2e2c URL:http://a/b/c/d;p?y>
URI('http://a/b/c/d;p?q').merge('/./g') #=> #<UR...
...7ca2738 URL:http://a/g>
URI('http://a/b/c/d;p?q').merge('/../g') #=> #<URI::HTTP:0xb7ca2008 URL:http://a/g>
URI('http://a/b/c/d;p?q').merge('../../../g') #=> #<URI::HTTP:0xb7ca1888 URL:http://a/g>
URI('http://a/b/c/d;p?q').merge('../../../../g') #=> #<URI::HTTP:0xb7ca10a4 URL:http:/...
<< 1 2 3 ... > >>