89件ヒット
[1-89件を表示]
(0.019秒)
種類
- インスタンスメソッド (48)
- 特異メソッド (24)
- ライブラリ (12)
- 文書 (5)
ライブラリ
-
irb
/ context (12) -
rexml
/ document (60)
クラス
-
IRB
:: Context (12) -
REXML
:: Document (12) -
REXML
:: Element (48)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (5) - context= (12)
-
inspect
_ mode= (12) - irb (12)
- new (24)
検索結果
先頭5件
-
REXML
:: Element # raw -> bool (18147.0) -
その要素が raw モードであるならば真を返します。
...その要素が raw モードであるならば真を返します。
以下のいずれかであれば、raw モードであると判定されます。
* REXML::Element#context の :raw が :all である
* context の :raw の配列に self の要素名が含まれる... -
REXML
:: Element # context -> {Symbol => object} | nil (18137.0) -
要素の「コンテキスト」を Hash で返します。
...odes も参照してください。
: :raw
raw mode で取り扱いをして欲しい要素の名前の集合を
文字列の配列で指定します。
すべてのノードを raw mode で取り扱って欲しい場合は :all を指定します。
raw mode においては、text 中の特......殊文字は一切変換されません。
REXML::Element#raw も参照してください。
@see REXML::Element.new, REXML::Element#context=... -
REXML
:: Element # context=(value) (6137.0) -
要素の「コンテキスト」を Hash で設定します。
...odes も参照してください。
: :raw
raw mode で取り扱いをして欲しい要素の名前の集合を
文字列の配列で指定します。
すべてのノードを raw mode で取り扱って欲しい場合は :all を指定します。
raw mode においては、text 中の特......殊文字は一切変換されません。
REXML::Element#raw も参照してください。
nil を渡すことでデフォルト値を使うよう指示できます。
@param value 設定値
@see REXML::Element.new, REXML::Element#context... -
IRB
:: Context # inspect _ mode=(opt) (3006.0) -
実行結果の出力方式を opt に設定します。
...実行結果の出力方式を opt に設定します。
@param opt 以下のいずれかを指定します。
: false, :to_s, :raw
出力結果を to_s したものを表示します。
: true, :p, :inspect
出力結果を inspect したものを表示します。
: :pp, :pretty_inspect
出... -
REXML
:: Element . new(arg = UNDEFINED , parent = nil , context = nil) -> REXML :: Element (149.0) -
要素オブジェクトを生成します。
...。
arg が REXML::Element オブジェクトの場合は、
新たな要素の名前、属性、context が arg のもので初期化されます。
parent で親ノードを指定します。
context には hash table で要素のコンテキストを指定します。
基本的には text node......odes も参照してください。
: :raw
raw mode で取り扱いをして欲しい要素の名前の集合を
文字列の配列で指定します。
すべてのノードを raw mode で取り扱って欲しい場合は :all を指定します。
raw mode においては、text 中の特......文字は一切変換されません。
REXML::Element#raw も参照してください。
@param arg 要素の名前(String)もしくは初期化に使う REXML::Element
オブジェクト
@param parent 親ノード
@param context コンテキスト(Hash)
@see REXML::Parent.new, REXML::Chi... -
REXML
:: Document . new(source = nil , context = {}) -> REXML :: Document (143.0) -
Document オブジェクトを生成します。
...す。
文字列の場合はそれを XML と見なしてパースします。
IOの場合は、XML文書を読み出してパースします。
context で「コンテキスト」を指定します。テキストノードの空白や
特殊文字の取り扱いを Hash で指定します。
以下......odes も参照してください。
: :raw
raw mode で取り扱いをして欲しい要素の名前の集合を
文字列の配列で指定します。
すべてのノードを raw mode で取り扱って欲しい場合は :all を指定します。
raw mode においては、text 中の特......殊文字は一切変換されません。
REXML::Element#raw も参照してください。
@param source XML文書(文字列, IO)もしくは REXML::Document オブジェクト
@param context コンテキスト
@raise REXML::ParseException XML文書のパースに失敗した場合に発生し... -
irb (66.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...行なう。デフォルト値は 16。
--context-mode n 新しいワークスペースを作成した時に関連する Binding
オブジェクトの作成方法を 0 から 3 で設定する。
(IRB::Context 参照)
--single-irb irb 中で self を......IRB.conf[:USE_READLINE] = nil
IRB.conf[:USE_TRACER] = true
IRB.conf[:VERBOSE] = true
それぞれの設定値の詳細については、IRB::Context を参照してください。
====[a:customize_prompt] プロンプトのカスタマイズ
irb のプロンプトをカスタマイズした......nf[:INSPECT_MODE] に以下のいずれかの値を設定する事で、結果出力の
方式を変更する事ができます。
: false, :to_s, :raw
出力結果を to_s したものを表示します。
: true, :p, :inspect
出力結果を inspect したものを表示します。
: :pp... -
NEWS for Ruby 3
. 0 . 0 (42.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...aluated code. 4352 17419
* ConditionVariable
* ConditionVariable#wait may now invoke the `block`/`unblock` scheduler hooks in a non-blocking context. 16786
* Dir
* Dir.glob and Dir.[] now sort the results by default, and accept the `sort:` keyword option. 8709
* ENV
* ENV.except h......or Encoding.default_external to UTF-8 on Windows 16604
* Fiber
* Fiber.new(blocking: true/false) allows you to create non-blocking execution contexts. 16786
* Fiber#blocking? tells whether the fiber is non-blocking. 16786
* Fiber#backtrace and Fiber#backtrace_locations provide per-fibe......but users might experience slow compilations.
* Memory view interface [EXPERIMENTAL]
* The memory view interface is a C-API set to exchange a raw memory area, such as a numeric array or a bitmap image, between extension libraries. The extension libraries can share also the metadata of the mem...