るりまサーチ

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

別のキーワード

  1. matrix index
  2. matrix find_index
  3. _builtin find_index
  4. _builtin index
  5. matrix each_with_index

検索結果

<< 1 2 > >>

rubygems/commands/generate_index_command (6067.0)

ある Gem サーバに対するインデックスを作成するためのライブラリです。

...ある Gem サーバに対するインデックスを作成するためのライブラリです。

Usage: gem generate_index [options]
Options:
-d, --directory=DIRNAME repository base dir containing gems subdir
Common Options:
-h, --help この...
...uby 自体のデバッグオプションを有効にします
Summary:
Generates the index files for a gem server directory
Description:
The generate_index command creates a set of indexes for serving gems
statically. The command expects a 'gems' directory under the path g...
...es you want to
index

quick/index
quick/index.rz # quick index manifest
quick/<gemname>.gemspec.rz # legacy YAML quick index
file
quick/Marshal.<version>/<gemname>.gemspec.rz # Marshal quick index file...

rdoc/generator/json_index (6019.0)

他のジェネレータが生成する HTML で検索が行えるように、JSON の検索インデッ クスを生成するサブライブラリです。

...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

=== インデックスフォーマット

検索用のインデック...
...ch_data = {
"index": {
"searchIndex":
["a", "b", ...],
"longSearchIndex":
["a", "a::b", ...],
"info": [
["A", "A", "A.html", "", ""],
["B", "A::B", "A::B.html", "", ""],
...
]
}
}

searchIndex、longSearchIndex、info 中の...
...報は同じ位置にあるものは同じ要
素に関する情報が格納されています。searchIndex フィールドには省略した名
前が格納されています。longSearchIndex フィールドには(適切に記載されてい
れば)完全な名前が格納されています。inf...

rubygems/indexer (6001.0)

Gem リポジトリのインデックスを作成するためのクラスを扱うためのライブラリです。

Gem リポジトリのインデックスを作成するためのクラスを扱うためのライブラリです。

rubygems/source_index (6001.0)

個々のソースから取得した全ての有効な Gem パッケージをインデックス化するためのライブラリです。

個々のソースから取得した全ての有効な Gem パッケージをインデックス化するためのライブラリです。

rss (85.0)

RSS を扱うためのライブラリです。

...xampleというサイトを
* http://example.com/index.rdfという名前のRSS 1.0

を生成するには以下のようにします.

require "rss"

rss = RSS::Maker.make("1.0") do |maker|
maker.channel.about = "http://example.com/index.rdf"
maker.channel.title = "Example"
make...
...ければ以下のようにします.

require "rss"

rss = RSS::Maker.make("1.0") do |maker|
maker.channel.about = "http://example.com/index.rdf"
maker.channel.title = "Example"
maker.channel.description = "Example Site"
maker.channel.link = "http://example.com/"

item = m...
...10:10

のものならこうします.

require "rss"

rss = RSS::Maker.make("1.0") do |maker|
maker.channel.about = "http://example.com/index.rdf"
maker.channel.title = "Example"
maker.channel.description = "Example Site"
maker.channel.link = "http://example.com/"

maker....

絞り込み条件を変える

net/http (31.0)

汎用データ転送プロトコル HTTP を扱うライブラリです。 実装は 2616 に基きます。

...com', '/index.html')
//}

//emlist[例2: URI を使う][ruby]{
require 'net/http'
require 'uri'
print Net::HTTP.get(URI.parse('http://www.example.com/index.html'))
//}

//emlist[例3: より汎用的な例][ruby]{
require 'net/http'
require 'uri'

url = URI.parse('http://www.example.com/index.html')...
...res = Net::HTTP.start(url.host, url.port) {|http|
http.get('/index.html')
}
puts res.body
//}

//emlist[例4: 上の例よりさらに汎用的な例][ruby]{
require 'net/http'

url = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(url.path)
res = Net::HTTP.start(url.host,...

rdoc (25.0)

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

...the name of one or more output files. If multiple
files are present, the first is used as the index.

<tt>--quiet:</tt>:: do not output the names, sizes, byte counts,
index
areas, or bit ratios of units as
they are processed.

====[a:headline] 見...
...トを書くと、この出力を上書
きできます。

def fred # :yields: index, position
...
yield line, address

上のようにすると、以下の出力になります。

fred() { |index, position| ... }

====[a:escape] エスケープ

マークアップは <tt> タグ...

rubygems/server (25.0)

Gem パッケージを配布したり Gem パッケージに同梱されているドキュメントを参照するための 簡易ウェブサーバを動かすためのライブラリです。

...ジョンの情報 (パッケージ名、バージョン、プラットフォーム) を返します。
: "/quick/index", "/quick/index.rz", "/quick/latest_index", "/quick/latest_index.rz"
インストールされている Gem パッケージの一覧を返します。
: "/gems/"
ダウンロー...
...インストールされている Gem パッケージの Gem::SourceIndex を Marshal の
形式でダンプしたものを返します。
: "/yaml"
インストールされている Gem パッケージの Gem::SourceIndex を YAML 形式で
ダンプしたメタデータを返します。...

net/pop (13.0)

このライブラリは、POP3 (Post Office Protocol version 3) を 用いてPOPサーバからメールを受信する機能を提供するライブラリです。

...rt('YourAccount', 'YourPassword') # POPのセッションを開始
if pop.mails.empty?
$stderr.puts 'no mail.'
else
pop.mails.each_with_index do |m, idx| # 各メッセージにアクセスする
File.open("inbox/#{idx + 1}", 'w') {|f|
f.write m.pop
}
m.delete...
...0,
'YourAccount', 'YourPassword') {|pop|
if pop.mails.empty?
$stderr.puts 'no mail.'
else
pop.mails.each_with_index do |m, idx|
File.open("inbox/#{idx + 1}", 'w') {|f|
f.write m.pop
}
m.delete
end
$stderr.puts "#{pop...

cgi/session (7.0)

CGI のセッション管理を行うライブラリ。

...NV['SCRIPT_NAME'])}">[戻る]</a></p>
</body></html>
END
}
end
end

SessionDemo.new

=== 参考URL

* http://www.shugo.net/article/webdb2/#label:13
* http://www.modruby.net/doc/faq.ja.jis.html#label-13
* http://www.ruby-doc.org/stdlib/libdoc/cgi/rdoc/index.html...

絞り込み条件を変える

<< 1 2 > >>