ライブラリ
- etc (1)
-
net
/ http (1) - rake (1)
-
rdoc
/ code _ object (1) -
rdoc
/ context (3) -
rdoc
/ parser / simple (1) -
rdoc
/ text (2) -
rexml
/ document (4)
クラス
-
Etc
:: Passwd (1) -
RDoc
:: CodeObject (1) -
RDoc
:: Context (1) -
RDoc
:: Context :: Section (2) -
RDoc
:: Parser :: Simple (1) -
REXML
:: Comment (1) -
REXML
:: DocType (3)
モジュール
-
Net
:: HTTPHeader (1) -
RDoc
:: Text (2) -
Rake
:: TaskManager (1)
キーワード
-
attribute
_ of (1) -
attributes
_ of (1) -
content
_ type (1) -
last
_ description (1) -
node
_ type (1) -
normalize
_ comment (1) - parse (1)
-
remove
_ private _ comments (1) -
set
_ comment (1) -
set
_ current _ section (1) - write (1)
検索結果
先頭5件
-
Etc
:: Passwd # comment -> String (63607.0) -
コメント(文字列)を返します。このメンバはシステム依存です。
コメント(文字列)を返します。このメンバはシステム依存です。 -
RDoc
:: CodeObject # comment -> String (63607.0) -
自身のコメントを返します。
自身のコメントを返します。 -
RDoc
:: Context :: Section # comment -> String | nil (63607.0) -
section のコメントを返します。
section のコメントを返します。 -
RDoc
:: Parser :: Simple # remove _ private _ comments(comment) -> String (27973.0) -
行頭の "--" から "++" で囲まれたコメントを comment から削除した結果を返 します。
行頭の "--" から "++" で囲まれたコメントを comment から削除した結果を返
します。
@param comment 対象の文字列を指定します。
@return コメントが削除された文字列を返します。 -
RDoc
:: Context :: Section # set _ comment(comment) -> () (27964.0) -
自身にコメントを設定します。
自身にコメントを設定します。
@param comment 文字列を指定します。
comment の最初の行に :section: を含んでいた場合、その行以降の文字列をコ
メントとして設定します。そうでない場合は comment すべてをコメントとして
設定します。
# ---------------------
# :section: The title
# The body
# --------------------- -
REXML
:: Comment # node _ type -> Symbol (27652.0) -
シンボル :comment を返します。
シンボル :comment を返します。 -
RDoc
:: Text # normalize _ comment(text) -> String (27607.0) -
引数から行頭のスペースや改行文字などを削除します。
引数から行頭のスペースや改行文字などを削除します。
詳しくは [SEE ALSO] の各メソッドを参照してください。
@param text 文字列を指定します。
@see RDoc::Text#strip_hashes, RDoc::Text#expand_tabs,
RDoc::Text#flush_left, RDoc::Text#strip_newlines -
Rake
:: TaskManager # last _ description -> String (18607.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 # parse(text) -> RDoc :: Markup :: Document | Array (9970.0) -
引数から RDoc::Text#normalize_comment でスペースや改行文字などを削 除した後に解析を行います。
引数から RDoc::Text#normalize_comment でスペースや改行文字などを削
除した後に解析を行います。
@param text 文字列を指定します。
@see RDoc::Text#normalize_comment -
REXML
:: DocType # write(output , indent = 0 , transitive = false , ie _ hack = false) -> () (9658.0) -
output に DTD を出力します。
output に DTD を出力します。
このメソッドは deprecated です。REXML::Formatter で
出力してください。
@param output 出力先の IO オブジェクト
@param indent インデントの深さ。指定しないでください。
@param transitive 無視されます。指定しないでください。
@param ie_hack 無視されます。指定しないでください。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<... -
RDoc
:: Context # set _ current _ section(title , comment) -> () (9607.0) -
Handle sections
Handle sections -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (9340.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という
名前の属性のデフォルト値を返します。
elementという名前の要素の属性値は宣言されていない、
elementという名前の要素にはattributeという名前の属性が宣言されていない、
もしくはデフォルト値が宣言されていない、のいずれかの場合は nil を返します。
@param element 要素名(文字列)
@param attribute 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Doc... -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (9340.0) -
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている 属性の名前とデフォルト値を REXML::Attribute の配列で返します。
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている
属性の名前とデフォルト値を REXML::Attribute の配列で返します。
名前とデフォルト値のペアは、各 Attribute オブジェクトの
REXML::Attribute#name と
REXML::Attribute#value で表現されます。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (c... -
Net
:: HTTPHeader # content _ type -> String|nil (9322.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...