るりまサーチ

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

別のキーワード

  1. _builtin ~
  2. ipaddr ~
  3. regexp ~
  4. integer ~
  5. bignum ~

キーワード

検索結果

xmlrpc (13.0)

XML-RPC を扱うためのライブラリです。

...ions that span
computer languages. Its distinctive feature is its simplicity compared to
other approaches like SOAP and CORBA.

The Ruby standard library package 'xmlrpc' enables you to create a server that
implements remote procedures and a client that calls them. Very little code
is required to...
...other parser and scales well for large documents. For example for a 0.5 MB XML
document with many tags, XMLStreamParser is ~350 (!) times faster than
NQXMLTreeParser and still ~18 times as fast as XMLTreeParser.

You can change the XML-writer by calling method <i>set_writer</i>.

=== 参考

* ht...

irb (7.0)

irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。

...options:
-f ~/.irbrc を読み込まない
-m bc モード (分数と行列の計算ができる)
-d $DEBUG を true にする (ruby -d と同じ)
-w ruby -w と同じ
-W[level=2] ruby -W と同じ
-r library ruby...
...ないため、 NameError になります。

Ruby と irb の動作の違いをなくしたい場合は、 irb では以下のように式を begin end でくくって入力してください。

irb(main):001:1* begin
irb(main):002:1* eval "foo"
irb(main):003:1* foo = 42
irb(main):004:...
...実行結果の履歴がファイルに保存されます。

IRB.conf[:SAVE_HISTORY] = 100

履歴ファイルの名前はデフォルトでは ~/.irb_history です。
履歴ファイルの名前は IRB.conf[:HISTORY_FILE] で指定できます。

===[a:inspect_mode] 実行結果の出力方...
...irb [options] file_name opts
options:
-f ~/.irbrc を読み込まない
-d $DEBUG を true にする (ruby -d と同じ)
-w ruby -w と同じ
-W[level=2] ruby -W と同じ
-r library ruby -r と同じ
-I ruby...
...に保存されます。保存先は $XDG_CONFIG_HOME/irb/irb_history (Ruby 2.7.2 以降かつ $XDG_CONFIG_HOME が定義されている場合) か ~/.irb_history です。

もし履歴を保存したくない場合は、.irbrc で以下のように指定します。

IRB.conf[:SAVE_HISTORY] = ni...