るりまサーチ

最速Rubyリファレンスマニュアル検索!
33件ヒット [1-33件を表示] (0.070秒)
トップページ > クエリ:-[x] > クエリ:event[x] > 種類:ライブラリ[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

キーワード

検索結果

rexml/parsers/pullparser (55.0)

プル方式の XML パーサ。

...

pull は REXML::Parsers::PullEvent オブジェクトを返します。
このオブジェクトの
REXML::Parsers::PullEvent#event_type で「開始タグ」「終了タグ」
といったイベントの種類を取得します。
REXML::Parsers::PullEvent#[] でそのイベントのパラメ...
...ことができます。


===[a:event_type] イベントの種類とパラメータ
REXML::Parsers::PullEvent#event_type で得られるイベントの種類の
シンボルを列挙しています。

これらのうちのいくつかは、
REXML::Parsers::PullEvent#start_element? などのメソ...
...pe (ルート要素名, "SYSTEM" | "PUBLIC" | nil, システム識別子 | nil, 公開識別子 | nil)
DTD 開始。判定は REXML::Parsers::PullEvent#doctype? メソッドで、
start_doctype? ではない
: end_doctype ()
DTD 終了
: attlistdecl (要素名, 属性名とデフォルト値,...

rdoc/markdown (43.0)

Markdown 形式で記述されたドキュメントを rdoc 上で解析するための サブライブラリです。

...ない機能があります。

Underscores embedded in words are never interpreted as emphasis. (While the
[markdown dingus][dingus] emphasizes in-word underscores, neither the
Markdown syntax nor MarkdownTest mention this behavior.)

また URL を記述すると HTML を出力する際に自動...
...に含める事はできま
せん。この拡張はデフォルトでは無効になっています。

例:

<style type="text/css">
h1 { font-size: 3em }
</style>

==== 定義リスト

RDoc::Markdown#definition_lists を設定する事で定義リストを出力す
る事ができます。...
...ださい。この拡張はデフォルトで
有効になっています。

* PHP Markdown Extra syntax: https://michelf.ca/projects/php-markdown/extra/#def-list

例:

cat
: A small furry mammal that seems to sleep a lot

ant
: A little insect that is known to enjoy picnics

出力...

tracer (19.0)

実行トレース出力をとる機能を提供します。

...下のようにコマンドラインから Kernel.#require する方法です。
hoge.rb の実行をすべてトレース出力します。

ruby -rtracer hoge.rb

もうひとつはソースからrequireする方法です。

require 'tracer'

とした後

Tracer.on

によりトレース...
...作します。
require 'tracer'

class Hoge
def Hoge.fuga(i)
"fuga #{i}"
end
end

Tracer.add_filter {|event, file, line, id, binding, klass|
event
=~ /line/ and klass.to_s =~ /hoge/i
}
Tracer.on
for i in 0..3
puts Hoge.fuga(i) if i % 3 == 0
end
Tracer.off

=...