るりまサーチ (Ruby 3.0)

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

別のキーワード

  1. context new
  2. rdoc/context new
  3. rexml/document context
  4. webrick/ssl ssl_context
  5. context thread

検索結果

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

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

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

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

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

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

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

現在の section を返します。

現在の section を返します。

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

Handle sections

Handle sections

RDoc::Context::Section (27067.0)

section に関する情報を保持するクラスです。

section に関する情報を保持するクラスです。

ドキュメント中で以下のように記述した情報を保持しています。

# :section: The title
# The body

絞り込み条件を変える

RDoc::Context::Section.new(parent, title, comment) -> RDoc::Context::Section (18679.0)

自身を初期化します。

自身を初期化します。

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

@param title section のタイトルを文字列で指定します。

@param comment section のコメントを文字列で指定します。

また、section のシーケンス番号を新しく作成します。

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

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

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

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

RDoc::Context::Section#parent -> RDoc::Context (18352.0)

自身が所属する RDoc::Context オブジェクトを返します。

自身が所属する RDoc::Context オブジェクトを返します。

rdoc/context (18145.0)

RDoc::Context と RDoc::Context::Section を定義するサブライ ブラリです。

RDoc::Context と RDoc::Context::Section を定義するサブライ
ブラリです。

RDoc::Context::Section#comment -> String | nil (18049.0)

section のコメントを返します。

section のコメントを返します。

絞り込み条件を変える

RDoc::Context::Section#sequence -> String (18049.0)

section のシーケンス番号を文字列で返します。

section のシーケンス番号を文字列で返します。

リンクを作成する時に使われます。

RDoc::Context::Section#title -> String | nil (18049.0)

section のタイトルを返します。

section のタイトルを返します。

RDoc::Context::Section#==(other) -> bool (18037.0)

自身と other のシーケンス番号を比較した結果を返します。

自身と other のシーケンス番号を比較した結果を返します。

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

RDoc::Context::Section#set_comment(comment) -> () (18037.0)

自身にコメントを設定します。

自身にコメントを設定します。

@param comment 文字列を指定します。

comment の最初の行に :section: を含んでいた場合、その行以降の文字列をコ
メントとして設定します。そうでない場合は comment すべてをコメントとして
設定します。

# ---------------------
# :section: The title
# The body
# ---------------------

RDoc::Context::Section#inspect -> String (18001.0)

自身の情報を人間に読みやすい文字列にして返します。

自身の情報を人間に読みやすい文字列にして返します。

絞り込み条件を変える

NEWS for Ruby 3.0.0 (127.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...NEWS for Ruby 3.0.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス...
...eywords.
16166

//emlist[][ruby]{
pr = proc{|*a, **kw| [a, kw]}

pr.call([1])
# 2.7 => [[1], {}]
# 3.0 => [[[1]], {}]

pr.call([1, {a: 1}])
# 2.7 => [[1], {:a=>1}] # and deprecation warning
# 3.0 => a=>1}, {}]
//}

* Arguments forwarding (`...`) now supports leading arguments.
16378

//eml...
...7260
* `in` is changed to return `true` or `false`. 17371

//emlist{
0 => a
p a #=> 0

{b: 0, c: 1} => {b:}
p b #=> 0
//}

//emlist{
# version 3.0
0 in 1 #=> false

# version 2.7
0 in 1 #=> raise NoMatchingPatternError
//}

* Find-pattern is added. [EXPERIMENTAL]
16828

//emlist{
case [...