168件ヒット
[1-100件を表示]
(0.141秒)
別のキーワード
ライブラリ
-
rake
/ loaders / makefile (12) -
rdoc
/ code _ object (24) -
rexml
/ document (48) -
rexml
/ parsers / pullparser (12) - rss (24)
- zlib (24)
クラス
-
RDoc
:: CodeObject (24) -
REXML
:: Comment (24) -
REXML
:: DocType (24) -
REXML
:: Parsers :: PullEvent (12) -
RSS
:: Maker :: ItemsBase :: ItemBase (24) -
Rake
:: MakefileLoader (12) -
WEBrick
:: Cookie (24) -
Zlib
:: GzipFile (12) -
Zlib
:: GzipWriter (12)
キーワード
- == (12)
-
attribute
_ of (12) -
attributes
_ of (12) - comment= (36)
- comment? (12)
- comments (12)
- comments= (12)
- load (12)
-
node
_ type (12)
検索結果
先頭5件
-
WEBrick
:: Cookie # comment -> String (21103.0) -
コメントを文字列で表すアクセサです。
コメントを文字列で表すアクセサです。
@param value コメントを文字列で指定します。 -
RDoc
:: CodeObject # comment -> String (21102.0) -
自身のコメントを返します。
自身のコメントを返します。 -
Zlib
:: GzipFile # comment -> String | nil (21102.0) -
gzip ファイルのヘッダーに記録されているコメントを返します。 コメントが存在しない場合は nil を返します。
gzip ファイルのヘッダーに記録されているコメントを返します。
コメントが存在しない場合は nil を返します。 -
RSS
:: Maker :: ItemsBase :: ItemBase # comments (12101.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # comments=() (12101.0) -
@todo
@todo -
RDoc
:: CodeObject # comment=(comment) (9231.0) -
自身のコメントを comment に設定します。
...自身のコメントを comment に設定します。
ただし、comment が空文字列だった場合は何もしません。
@param comment コメントを文字列で指定します。... -
Zlib
:: GzipWriter # comment=(string) (9120.0) -
gzip ファイルのヘッダーに記録するコメントを指定します。
...gzip ファイルのヘッダーに記録するコメントを指定します。
Zlib::GzipWriter#write 等の書き込み系メソッドを
呼んだ後で指定しようとすると Zlib::GzipFile::Error 例外が
発生します。
@param string gzip ファイルのヘッダーに記録する......す。
require 'zlib'
filename='hoge1.gz'
fw = File.open(filename, "w")
Zlib::GzipWriter.wrap(fw, Zlib::BEST_COMPRESSION){|gz|
gz.comment = "hogehoge"
p gz.comment #=> "hogehoge"
}
fr = File.open(filename)
Zlib::GzipReader.wrap(fr){|gz|
puts gz.comment #=> hogehoge
}... -
WEBrick
:: Cookie # comment=(value) (9103.0) -
コメントを文字列で表すアクセサです。
コメントを文字列で表すアクセサです。
@param value コメントを文字列で指定します。 -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (6213.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
...宣言で、 element という名前の要素の attribute という
名前の属性のデフォルト値を返します。
elementという名前の要素の属性値は宣言されていない、
elementという名前の要素にはattributeという名前の属性が宣言されていない、......bute 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (comment)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST book
author CDATA #REQUIRED
title CDATA #REQUIRED
publisher CDATA "foob......ar publisher">
]>
EOS
p doctype.attribute_of("book", "publisher") # => "foobar publisher"
p doctype.attribute_of("bar", "foo") # => nil
p doctype.attribute_of("book", "baz") # => nil
p doctype.attribute_of("book", "title") # => nil
//}...