種類
- インスタンスメソッド (144)
- クラス (48)
- 定数 (48)
- ライブラリ (39)
ライブラリ
-
net
/ http (24) - openssl (12)
-
rexml
/ document (48) - rss (48)
-
rubygems
/ specification (48) -
webrick
/ httpauth / authenticator (12) -
webrick
/ httpstatus (48)
クラス
-
Gem
:: Specification (48) -
REXML
:: DocType (48) -
RSS
:: Maker :: ItemsBase :: ItemBase (24) -
RSS
:: Rss :: Channel :: Item (24)
モジュール
キーワード
- HTTPNonAuthoritativeInformation (12)
- NonAuthoritativeInformation (12)
-
RC
_ NON _ AUTHORITATIVE _ INFORMATION (12) -
RC
_ UNAUTHORIZED (12) -
RESPONSE
_ STATUS _ UNAUTHORIZED (12) - RequestField (12)
-
attribute
_ of (12) -
attributes
_ of (12) -
external
_ id (12) - rdoc (12)
- rss (12)
- rubygems (12)
- write (12)
- xmlrpc (3)
検索結果
先頭5件
-
rubygems (30.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...version = '0.0.0'
s.summary = 'hello summary'
s.files = ['lib/hello.rb']
s.authors = ['Hello Author']
s.email = 'hello_author@example.com'
s.homepage = 'http://example.com/hello/'
s.description = 'hello description'
end......ます。
: summary
この Gem の短い説明を指定します。
: files
この Gem に含むファイルのリストを指定します。
: authors
この Gem の作者のリストを指定します。
: email
この Gem の作者の連絡先メールアドレスを指定します。
: h......s.summary = 'hello summary'
s.files = ['bin/hello', 'lib/hello.rb']
s.executables = ['hello']
s.authors = ['Hello Author']
s.email = 'hello@example.com'
s.homepage = 'http://example.com/hello'
s.description = 'hello desc... -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (18.0) -
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている 属性の名前とデフォルト値を REXML::Attribute の配列で返します。
...ATA)>
<!ATTLIST book
author CDATA #REQUIRED
title CDATA #REQUIRED
publisher CDATA "foobar publisher">
]>
EOS
p doctype.attributes_of("book")
# => [author='', title='', publisher='foobar publisher']
p doctype.attributes_of("book")[0].name # => "author"
p doctype.attribu... -
REXML
:: DocType # external _ id -> String | nil (12.0) -
DTD が外部サブセットを用いている場合は "SYSTEM", "PUBLIC" の いずれかの文字列を返します。
...me # => "html"
doctype.external_id # => "PUBLIC"
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT books (book+)>
<!ELEMENT book (title,author)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT author (#PCDATA)>
]>
EOS
doctype.name # => "books"
doctype.external_id # => nil
//}... -
rss (12.0)
-
RSS を扱うためのライブラリです。
...するた
めには以下のように変更する必要があります。
* RSS::Maker.makeの第一引数を"atom"に変更
* maker.channel.authorを設定
* maker.channel.dateを設定
もし、
* 作者がBobで
* たった今、作成された
Atom 1.0なら以下のようになり......maker.channel.title = "Example"
maker.channel.description = "Example Site"
maker.channel.link = "http://example.com/"
maker.channel.author = "Bob"
maker.channel.date = Time.now
maker.items.do_sort = true
maker.items.new_item do |item|
item.link = "http://example.co... -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (6.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
...ocument'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (comment)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST book
author CDATA #REQUIRED
title CDATA #REQUIRED
publisher CDATA "foobar publisher">
]>
EOS
p doctype.attribute_of("book", "publis... -
REXML
:: DocType # write(output , indent = 0 , transitive = false , ie _ hack = false) -> () (6.0) -
output に DTD を出力します。
...ocument'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (comment)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST book
author CDATA #REQUIRED
title CDATA #REQUIRED
publisher CDATA "foobar publisher">
<!ENTITY p "foobar publisher">
<!ENTITY % q "q... -
rdoc (6.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...となり、記述部(コロン2つの後のテキスト)は左揃えになりま
す。この形式は本ドキュメントの末尾のほうの 'author' のところで使われて
います。
cat:: small domestic animal
+cat+:: command to copy standard input
どちらの形式のラベ... -
xmlrpc (6.0)
-
XML-RPC を扱うためのライブラリです。
...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 lightweigh...