ライブラリ
- etc (1)
-
net
/ http (1) - rake (4)
-
rdoc
/ code _ object (1) -
rdoc
/ context (1) -
rdoc
/ parser / simple (1) -
rdoc
/ text (1) -
rexml
/ document (6) - zlib (2)
クラス
-
Etc
:: Passwd (1) -
RDoc
:: CodeObject (1) -
RDoc
:: Context :: Section (1) -
RDoc
:: Parser :: Simple (1) -
REXML
:: Comment (5) -
REXML
:: DocType (1) -
Rake
:: Task (2) -
WEBrick
:: Cookie (2) -
Zlib
:: GzipFile (1) -
Zlib
:: GzipWriter (1)
モジュール
-
Net
:: HTTPHeader (1) -
RDoc
:: Text (1) -
Rake
:: TaskManager (2)
キーワード
- <=> (1)
- == (1)
-
attribute
_ of (1) - comment= (2)
-
content
_ type (1) -
full
_ comment (1) -
last
_ comment (1) -
last
_ description (1) -
normalize
_ comment (1) -
remove
_ private _ comments (1) - string= (1)
-
to
_ s (1)
検索結果
先頭5件
-
REXML
:: Comment # string -> String (63613.0) -
コメント文字列を返します。
コメント文字列を返します。 -
WEBrick
:: Cookie # comment -> String (54613.0) -
コメントを文字列で表すアクセサです。
コメントを文字列で表すアクセサです。
@param value コメントを文字列で指定します。 -
Etc
:: Passwd # comment -> String (54610.0) -
コメント(文字列)を返します。このメンバはシステム依存です。
コメント(文字列)を返します。このメンバはシステム依存です。 -
RDoc
:: CodeObject # comment -> String (54610.0) -
自身のコメントを返します。
自身のコメントを返します。 -
RDoc
:: Context :: Section # comment -> String | nil (54610.0) -
section のコメントを返します。
section のコメントを返します。 -
Rake
:: Task # comment -> String (54610.0) -
自身の短いコメントを返します。
自身の短いコメントを返します。 -
Zlib
:: GzipFile # comment -> String | nil (54610.0) -
gzip ファイルのヘッダーに記録されているコメントを返します。 コメントが存在しない場合は nil を返します。
gzip ファイルのヘッダーに記録されているコメントを返します。
コメントが存在しない場合は nil を返します。 -
REXML
:: Comment # string=(value) (27307.0) -
コメント文字列を設定します。
コメント文字列を設定します。
@param value 設定する文字列 -
RDoc
:: Parser :: Simple # remove _ private _ comments(comment) -> String (18976.0) -
行頭の "--" から "++" で囲まれたコメントを comment から削除した結果を返 します。
行頭の "--" から "++" で囲まれたコメントを comment から削除した結果を返
します。
@param comment 対象の文字列を指定します。
@return コメントが削除された文字列を返します。 -
Zlib
:: GzipWriter # comment=(string) (18700.0) -
gzip ファイルのヘッダーに記録するコメントを指定します。
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... -
Rake
:: TaskManager # last _ comment -> String (18613.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
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 (18610.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 (18610.0) -
自身のコメントを全て返します。
自身のコメントを全て返します。 -
REXML
:: Comment # to _ s -> String (18313.0) -
コメント文字列を返します。
コメント文字列を返します。 -
WEBrick
:: Cookie # comment=(value) (18313.0) -
コメントを文字列で表すアクセサです。
コメントを文字列で表すアクセサです。
@param value コメントを文字列で指定します。 -
Rake
:: TaskManager # last _ description -> String (9313.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
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
:: Comment # <=>(other) -> -1 | 0 | 1 (9100.0) -
other と内容(REXML::Comment#string)を比較します。
other と内容(REXML::Comment#string)を比較します。 -
REXML
:: Comment # ==(other) -> bool (9100.0) -
other と内容(REXML::Comment#string)が同じならば真を返します。
other と内容(REXML::Comment#string)が同じならば真を返します。 -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (343.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という
名前の属性のデフォルト値を返します。
elementという名前の要素の属性値は宣言されていない、
elementという名前の要素にはattributeという名前の属性が宣言されていない、
もしくはデフォルト値が宣言されていない、のいずれかの場合は nil を返します。
@param element 要素名(文字列)
@param attribute 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Doc... -
Net
:: HTTPHeader # content _ type -> String|nil (325.0) -
"text/html" のような Content-Type を表す 文字列を返します。
"text/html" のような Content-Type を表す
文字列を返します。
Content-Type: ヘッダフィールドが存在しない場合には nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/comments.cgi?post=comment')
req = Net::HTTP::Post.new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/for...