るりまサーチ

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

別のキーワード

  1. psych handler
  2. imap add_response_handler
  3. net/imap add_response_handler
  4. handler empty
  5. handler alias

ライブラリ

キーワード

検索結果

Psych::Nodes::Mapping::BLOCK -> Integer (18123.0)

block style を表します。

...block style を表します。

@see Psych::Nodes::Mapping.new,
Psych::Nodes::Mapping#style,
Psych::Handler#start_mapping...

Psych::Nodes::Sequence::BLOCK -> Integer (18123.0)

block style を表します。

...block style を表します。

@see Psych::Nodes::Sequence.new,
Psych::Nodes::Sequence#style,
Psych::Handler#start_sequence...

Psych::Handler#start_mapping(anchor, tag, implicit, style) -> () (3006.0)

mapping の開始を見付けたときに呼び出されます。

...で渡されます。

style には sequence の style が整数値で渡されます。以下のいずれか
です。
* Psych::Nodes::Mapping::BLOCK
* Psych::Nodes::Mapping::FLOW

必要に応じてこのメソッドを override してください。

@param anchor 関連付けられた anchor...

Psych::Handler#start_sequence(anchor, tag, implicit, style) -> () (3006.0)

sequence の開始を見付けたときに呼び出されます。

...で渡されます。

style には sequence の style が整数値で渡されます。以下のいずれか
です。
* Psych::Nodes::Sequence::BLOCK
* Psych::Nodes::Sequence::FLOW

必要に応じてこのメソッドを override してください。

@param anchor 関連付けられた anch...

NEWS for Ruby 3.0.0 (42.0)

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

...nd `1` for `__LINE__` in the evaluated 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....
...r 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-fiber...
...ution context is blocking. 16786
* Thread#join invokes the scheduler hooks `block`/`unblock` in a non-blocking execution context. 16786
* Thread
* Thread.ignore_deadlock accessor has been added for disabling the default deadlock detection, allowing the use of signal handlers to break deadl...

絞り込み条件を変える

Psych::Emitter (12.0)

Psych::Parser でパースし、生じたイベントから YAML ドキュメントを再構築するようなハンドラです。

...手動で発生させることで
YAML ドキュメントを構築させることもできます。
各メソッドの意味については Psych::Handler を参照してください。
require 'psych'
require 'stringio'

output = StringIO.new
emitter = Psych::Emitter.new(output)

emit...