るりまサーチ

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

別のキーワード

  1. yamltree tree
  2. psych tree
  3. visitors tree
  4. tree psych
  5. tree psych::visitors::yamltree

種類

ライブラリ

モジュール

キーワード

検索結果

RubyVM::AbstractSyntaxTree.of(proc) -> RubyVM::AbstractSyntaxTree::Node (21214.0)

引数 proc に渡したProcやメソッドオブジェクトの抽象構文木を返します。

...RubyVM::AbstractSyntaxTree.of(proc {1 + 2})
# => (SCOPE@2:38-2:45
# tbl: []
# args: nil
# body:
# (OPCALL@2:39-2:44 (LIT@2:39-2:40 1) :+
# (LIST@2:43-2:44 (LIT@2:43-2:44 2) nil)))

def hello
puts "hello, world"
end

pp RubyVM::AbstractSyntaxTree.of(method(:hello))
# =>...

RubyVM::AbstractSyntaxTree.of(proc, keep_script_lines: false, error_tolerant: false, keep_tokens: false) -> RubyVM::AbstractSyntaxTree::Node (21214.0)

引数 proc に渡したProcやメソッドオブジェクトの抽象構文木を返します。

...RubyVM::AbstractSyntaxTree.of(proc {1 + 2})
# => (SCOPE@2:38-2:45
# tbl: []
# args: nil
# body:
# (OPCALL@2:39-2:44 (LIT@2:39-2:40 1) :+
# (LIST@2:43-2:44 (LIT@2:43-2:44 2) nil)))

def hello
puts "hello, world"
end

pp RubyVM::AbstractSyntaxTree.of(method(:hello))
# =>...

RubyVM::AbstractSyntaxTree.of(proc) -> RubyVM::AbstractSyntaxTree::Node (21213.0)

引数 proc に渡したProcやメソッドオブジェクトの抽象構文木を返します。

...RubyVM::AbstractSyntaxTree.of(proc {1 + 2})
# => (SCOPE@2:38-2:45
# tbl: []
# args: nil
# body:
# (OPCALL@2:39-2:44 (LIT@2:39-2:40 1) :+
# (LIST@2:43-2:44 (LIT@2:43-2:44 2) nil)))

def hello
puts "hello, world"
end

pp RubyVM::AbstractSyntaxTree.of(method(:hello))
# =>...

rdoc (36.0)

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

...ます。デフォルトは rdoc です。
markdown、rd、rdoc、tomdoc のいずれかから選択できます。

: --root root

Root of the source tree documentation will be generated for. Set this
when building documentation outside the source directory. Default is
the current directo...
...a class live. Set this when you don't store such files at your
project root. NOTE: Do not use the same file name in the page dir
and the root of your project

: --copy-files path

path で指定したファイルかディレクトリを出力先のディレクトリにコピーし
ます...
...り除いたりできます。'#++' で始まる行が現われると、
処理を再開します。

# Extract the age and calculate the
# date-of-birth.
#--
# FIXME: fails if the birthday falls on
# February 29th
#++
# The DOB is returned as a Time object.

def get_dob(person)...

NEWS for Ruby 2.1.0 (24.0)

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

...した

* Kernel
* 追加: Kernel#singleton_method(Object#singleton_method)

* Module
* 追加: Module#using, which activates refinements of the specified module only
in the current class or module definition.
* 追加: Module#singleton_class? レシーバーが特異クラス...
...ます

* toplevel
* main.using はもはや実験的な機能ではありません。
The method activates refinements in the ancestors of the argument module to
support refinement inheritance by Module#include

=== 組み込みクラスの互換性 (機能追加とバグ修正を...
...RubyGems 2.1 and earlier)
* Support for a sharing a GEM_HOME across ruby platforms and versions
* https://github.com/rubygems/rubygems/tree/master/History.txt

* set
* 追加: Set#intersect?
* 追加: Set#disjoint?

* socket
* 追加: Socket.getifaddrs

* strscan
*...

絞り込み条件を変える