4件ヒット
[1-4件を表示]
(0.152秒)
ライブラリ
-
net
/ http (1) -
rdoc
/ context (2) -
rdoc
/ text (1)
クラス
-
RDoc
:: Context (1) -
RDoc
:: Context :: Section (1)
モジュール
-
Net
:: HTTPHeader (1) -
RDoc
:: Text (1)
キーワード
-
content
_ type (1) -
normalize
_ comment (1) -
set
_ current _ section (1)
検索結果
先頭4件
-
RDoc
:: Context :: Section # comment -> String | nil (63607.0) -
section のコメントを返します。
section のコメントを返します。 -
RDoc
:: Text # normalize _ comment(text) -> String (46000.0) -
引数から行頭のスペースや改行文字などを削除します。
引数から行頭のスペースや改行文字などを削除します。
詳しくは [SEE ALSO] の各メソッドを参照してください。
@param text 文字列を指定します。
@see RDoc::Text#strip_hashes, RDoc::Text#expand_tabs,
RDoc::Text#flush_left, RDoc::Text#strip_newlines -
RDoc
:: Context # set _ current _ section(title , comment) -> () (9607.0) -
Handle sections
Handle sections -
Net
:: HTTPHeader # content _ type -> String|nil (370.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...