るりまサーチ

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

別のキーワード

  1. section new
  2. section title
  3. section parent
  4. section comment

検索結果

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

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

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

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

NEWS for Ruby 3.0.0 (66.0)

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

...照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリストはリンク先を参照してください。

==
言語仕様の変更

* Keyword arguments are now separated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2....
...a warning.

==
Command line options

==
= `--help` option

When the environment variable `RUBY_PAGER` or `PAGER` is present and has
a non-empty value, and the standard input and output are tty, the `--help`
option shows the help message via the pager designated by the value.
16754

==
= `--backtrac...
...methods ending with `!`.
* Ractor compatible.
* Improved support for YAML. 8382
* Use officially discouraged. Read OpenStruct@Caveats section.
* Pathname
* Ractor compatible.
* Psych
* Update to Psych 3.3.0
* This version is Ractor compatible.
* Reline
* Update to...

rdoc (60.0)

RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。

...によってメソッドやクラスに関するドキュメントを
生成するとき、コメント部を変換するために使われます。

==
= ロードマップ

* RDoc で Ruby のソースファイルに対するドキュメントを生成したければ、まずこの文章を読み...
...い。
* テキスト部を HTML に変換する部分をライブラリとして使いたければ、RDoc::Markup を参照してください。

==
= 概要

インストールすれば、'rdoc' コマンドでドキュメントが生成できます。
(Windows では 'rdoc.bat' です)

$ rdoc...
...されます)

: :main: name

コマンドラインの --main パラメータと同じ働きをします。

: :section: title

新しいセクションを開始します。:section: の後ろに置いたタイトルはその
セクションの見出しとなります。そして、コメン...

ruby 1.8.4 feature (54.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...など(互換性のない変更)
* [obsolete]: 廃止された(される予定の)機能
* [platform]: 対応プラットフォームの追加

==
目次

* ((<ruby 1.8.4 feature/Ruby本体>))
* ((<ruby 1.8.4 feature/Symbol [bug]>))
* ((<ruby 1.8.4 feature/Symbol [bug]>))
* ((<ruby 1.8.4 f...
...1.8.4 feature/cygwin [bug]>))
* ((<ruby 1.8.4 feature/BeOS [bug]>))
* ((<ruby 1.8.4 feature/Sun [bug]>))
* ((<ruby 1.8.4 feature/IA64 [bug]>))

==
Ruby本体

: Symbol [bug]

# * parse.y (dsym): prohibit empty symbol literal by interpolation.
# fixed: [ruby-talk:166529]

...
...vent signal handler to run during
# critical section. [ruby-core:04039]

シグナルハンドラの実行はクリティカルセクションが終了するまで
遅延されるようになりました。((<ruby-core:04039>))

==
組み込みライブラリ

#Thu Dec 8 02:07:19 2...

Enumerator.produce(initial = nil) { |prev| ... } -> Enumerator (18.0)

与えられたブロックを呼び出し続ける、停止しない Enumerator を返します。 ブロックの戻り値が、次にブロックを呼び出す時に引数として渡されます。 initial 引数が渡された場合、最初にブロックを呼び出す時にそれがブロック 呼び出しの引数として渡されます。initial が渡されなかった場合は nil が 渡されます。

...列挙する Enumerator
ancestors = Enumerator.produce(node) { |prev| node = prev.parent or raise StopIteration }
enclosing_section = ancestors.find { |n| n.type == :section }
//}

このメソッドは Enumerable の各メソッドと組み合わせて使うことで、
while や until ループの...

絞り込み条件を変える