240件ヒット
[101-200件を表示]
(0.137秒)
ライブラリ
- etc (12)
-
net
/ http (12) - rake (48)
-
rdoc
/ code _ object (12) -
rdoc
/ context (12) -
rdoc
/ parser / simple (12) -
rdoc
/ text (12) -
rexml
/ document (72) - zlib (24)
クラス
-
Etc
:: Passwd (12) -
RDoc
:: CodeObject (12) -
RDoc
:: Context :: Section (12) -
RDoc
:: Parser :: Simple (12) -
REXML
:: Comment (60) -
REXML
:: DocType (12) -
Rake
:: Task (24) -
WEBrick
:: Cookie (24) -
Zlib
:: GzipFile (12) -
Zlib
:: GzipWriter (12)
モジュール
-
Net
:: HTTPHeader (12) -
RDoc
:: Text (12) -
Rake
:: TaskManager (24)
キーワード
- <=> (12)
- == (12)
-
attribute
_ of (12) - comment= (24)
-
content
_ type (12) -
full
_ comment (12) -
last
_ comment (12) -
last
_ description (12) -
normalize
_ comment (12) -
remove
_ private _ comments (12) - string= (12)
-
to
_ s (12)
検索結果
先頭5件
-
REXML
:: Comment # to _ s -> String (15307.0) -
コメント文字列を返します。
コメント文字列を返します。 -
RDoc
:: Parser :: Simple # remove _ private _ comments(comment) -> String (12526.0) -
行頭の "--" から "++" で囲まれたコメントを comment から削除した結果を返 します。
...行頭の "--" から "++" で囲まれたコメントを comment から削除した結果を返
します。
@param comment 対象の文字列を指定します。
@return コメントが削除された文字列を返します。... -
Zlib
:: GzipWriter # comment=(string) (12446.0) -
gzip ファイルのヘッダーに記録するコメントを指定します。
...。
Zlib::GzipWriter#write 等の書き込み系メソッドを
呼んだ後で指定しようとすると Zlib::GzipFile::Error 例外が
発生します。
@param string gzip ファイルのヘッダーに記録するコメントを文字列で指定します。
@return string を返します。......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
}... -
Rake
:: TaskManager # last _ comment -> String (12406.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
...詳細説明を追跡するためのメソッドです。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end
desc "test2"
task :test_rake_app2 do |task|
end
//}... -
RDoc
:: Text # normalize _ comment(text) -> String (12404.0) -
引数から行頭のスペースや改行文字などを削除します。
...から行頭のスペースや改行文字などを削除します。
詳しくは [SEE ALSO] の各メソッドを参照してください。
@param text 文字列を指定します。
@see RDoc::Text#strip_hashes, RDoc::Text#expand_tabs,
RDoc::Text#flush_left, RDoc::Text#strip_newlines... -
Rake
:: Task # full _ comment -> String (12404.0) -
自身のコメントを全て返します。
自身のコメントを全て返します。 -
WEBrick
:: Cookie # comment=(value) (12205.0) -
コメントを文字列で表すアクセサです。
コメントを文字列で表すアクセサです。
@param value コメントを文字列で指定します。 -
Rake
:: TaskManager # last _ description -> String (9306.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
...詳細説明を追跡するためのメソッドです。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end
desc "test2"
task :test_rake_app2 do |task|
end
//}... -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (6415.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
...DTD 内の属性リスト宣言で、 element という名前の要素の attribute という
名前の属性のデフォルト値を返します。
elementという名前の要素の属性値は宣言されていない、
elementという名前の要素にはattributeという名前の属性が宣......ement 要素名(文字列)
@param attribute 属性名(文字列)
//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 #R......EQUIRED
publisher CDATA "foobar 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
//}...