91件ヒット
[1-91件を表示]
(0.132秒)
種類
- インスタンスメソッド (44)
- 文書 (22)
- ライブラリ (14)
- 定数 (11)
クラス
- Object (11)
-
RSS
:: Maker :: ChannelBase (22) -
RSS
:: Rss :: Channel (22)
キーワード
-
RUBY
_ COPYRIGHT (11) - Rubyの起動 (11)
- copyright= (22)
-
rdoc
/ generator / json _ index (11) - xmlrpc (3)
- 正規表現 (11)
検索結果
先頭5件
-
RSS
:: Maker :: ChannelBase # copyright (24202.0) -
@todo
@todo -
RSS
:: Rss :: Channel # copyright (24202.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # copyright=() (12202.0) -
@todo
@todo -
RSS
:: Rss :: Channel # copyright= (12202.0) -
@todo
@todo -
Object
:: RUBY _ COPYRIGHT -> String (12201.0) -
Ruby のコピーライトを表す文字列。
Ruby のコピーライトを表す文字列。 -
rdoc
/ generator / json _ index (6018.0) -
他のジェネレータが生成する HTML で検索が行えるように、JSON の検索インデッ クスを生成するサブライブラリです。
...This generator is derived from sdoc by Vladimir Kolesnikov and
contains verbatim code written by him.
このジェネレータは HTML ジェネレータと一緒に使うために設計されています。:
class RDoc::Generator::Darkfish
def initialize options
# ...
@base_dir......= Pathname.pwd.expand_path
@json_index = RDoc::Generator::JsonIndex.new self, options
end
def generate
# ...
@json_index.generate
end
end
=== インデックスフォーマット
検索用のインデックスは JSON ファイルに出力されます。search_dat......。info フィールドには [名前、完全な名
前、パス、パラメータ, 要素に記載されたコメントの断片] が格納されていま
す。
=== ライセンス
Copyright (c) 2009 Vladimir Kolesnikov
Permission is hereby granted, free of charge, to any person obtaining... -
正規表現 (114.0)
-
正規表現 * metachar * expansion * char * anychar * string * str * quantifier * capture * grouping * subexp * selector * anchor * cond * option * encoding * comment * free_format_mode * absenceop * list * specialvar * references
...achar
* expansion
* char
* anychar
* string
* str
* quantifier
* capture
* grouping
* subexp
* selector
* anchor
* cond
* option
* encoding
* comment
* free_format_mode
* absenceop
* list
* specialvar
* references
正規表現(regular expression)は文字列......るかどうかを判定し、
また含んでいるならばそれが文字列中のどの場所であるかを知ることができます。
//emlist[][ruby]{
/pat/
%r{pat}
//}
などの正規表現リテラルや Regexp.new などで正規表現
オブジェクトを得ることができます......。
//emlist[][ruby]{
/^.*(\d+)\./.match("Copyright 2013.") # => #<MatchData "Copyright 2013." 1:"3">
/^.*?(\d+)\./.match("Copyright 2013.") # => #<MatchData "Copyright 2013." 1:"2013">
//}
また、ネストしていない括弧の対応を取るためにも使えます。
//emlist[][ruby]{
#... -
Rubyの起動 (60.0)
-
Rubyの起動 * cmd_option * shebang
...Rubyの起動
* cmd_option
* shebang
Rubyインタプリタの起動は以下の書式のコマンドラインにより行います。
ruby [ option ...] [ -- ] [ programfile ] [ argument ...]
ここで、option は後述のcmd_option
のいずれかを指定します。-- は、オプシ......を明示するため
に使用できます。programfile は、Ruby スクリプトを記述したファイ
ルです。これを省略したり`-' を指定した場合には標準入力を Ruby ス
クリプトとみなします。
programfile が `#!' で始まるファイルである場合、......irectory
スクリプト実行前に指定されたディレクトリに移動します。
: -c
スクリプトの内部形式へのコンパイルのみを行い, 実行しません。コンパイル終
了後, 文法エラーが無ければ, "Syntax OK"と出力します。
: --copyright... -
xmlrpc (36.0)
-
XML-RPC を扱うためのライブラリです。
...めのページであり、require 'xmlrpc' を実行しても
エラーになることに注意して下さい。
=== Author and Copyright
Copyright (C) 2001-2004 by Michael Neumann
Released under the same term of license as Ruby.
=== Overview
XMLRPC is a lightweight protocol that enables remo......dure calls over
HTTP. It is defined at http://www.xmlrpc.com.
XMLRPC allows you to create simple distributed computing solutions that span
computer languages. Its distinctive feature is its simplicity compared to
other approaches like SOAP and CORBA.
The Ruby standard library package 'xmlrpc' en......a server that
implements remote procedures and a client that calls them. Very little code
is required to achieve either of these.
=== Example
Try the following code. It calls a standard demonstration remote procedure.
require 'xmlrpc/client'
require 'pp'
server = XMLRPC::Client.new2("htt...