るりまサーチ

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

別のキーワード

  1. module attr
  2. module new
  3. module define_method
  4. module module_eval
  5. module constants

キーワード

検索結果

rdoc (37.0)

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

...メントに 含まれます。これをオフにしたい場合は all 修飾
子を加えます。

//emlist{
module
SM #:nodoc:
class Input
end
end
module
Markup #:nodoc: all
class Output
end
end
//}

以上のコードでは、SM::Input のドキュ...
...ategory: Utility Methods
#
# CGI escapes +text+

def convert_string text
CGI.escapeHTML text
end
//}

title を省略した場合は、:section: を指定しなかった場合と同じように扱
われます。

//emlist{
# :category:
#
# This method is in the defau...
...lt category

def some_method
# ...
end
//}

:section: とは異なり、以降のドキュメントには影響しません。直後の要素
のみに影響します。

: :call-seq:

デフォルトではメソッドの引数や yield の引数をパースして出力しますが、...

debug (25.0)

Ruby デバッガです。Ruby スクリプトのソースコードデバッグに使用します。

...ithub.com/ruby/elisp にあるので、活用してください。

=== 使い方

$ ruby -rdebug foo.rb

または、Emacs から

M-x load-library rubydb3x.el
M-x rubydb

=== デバッグコマンド

以下は、デバッガで使用できるコマンド名とその用法の一覧です...
...挙げたもの以外を入力した場合、その入力を ruby の式として評価します。

: break
: break [<file>:]<position>|<class>:<method>
ブレークポイントを設定します。引数を省略した場合設定したブレークポ
イントを表示します。...
...インスタンス変数、<object>の定数を表示します。

このコマンドの省略形は v です。

: method i[nstance] <object>
: method <class|module>
それぞれ、オブジェクト<object>のインスタンスメソッド
クラスメソッド または モジュ...

xmlrpc (19.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...
...ser)
* xml-scan (XMLScanStreamParser)
* Fastest parser is Expat's XMLStreamParser!

* General
* possible to choose between XMLParser module (Expat wrapper) and REXML/NQXML (pure Ruby) parsers
* Marshalling Ruby objects to Hashs and reconstruct them later from a Hash
* SandStor...
...now since 1.8
REXMLStreamParser) and a default XML writer. If you want to use a different
XML parser, then you have to call the <i>set_parser</i> method of
XMLRPC::Client instances or instances of subclasses of
XMLRPC::BasicServer or by editing xmlrpc/config.rb.

Client Example:

require 'xmlrp...