るりまサーチ

最速Rubyリファレンスマニュアル検索!
600件ヒット [1-100件を表示] (0.089秒)

別のキーワード

  1. matrix tr
  2. string tr
  3. string tr_s
  4. string tr!
  5. string tr_s!

検索結果

<< 1 2 3 ... > >>

RSS::TrackBackModel20::TrackBackAbout#content (24103.0)

@todo

@todo

RSS::TrackBackModel20::TrackBackPing#content (24103.0)

@todo

@todo

REXML::Instruction#content -> String | nil (21214.0)

XML 処理命令の内容を返します。

...ersion="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<?foobar?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/css\" href=\"style.css\""
doc[4].target # => "foobar"
doc[4].content # => nil
//}...

RDoc::Markup#content -> String (18202.0)

変換する文字列を返します。

変換する文字列を返します。

rdoc ライブラリのデバッグ用途に使用します。
SM::SimpleMarkup#convert の後に実行します。

変換のために加工したオブジェクトを改行で連結したものを返すため、変換前
の文字列と結果が異なる事があります。

@see SM::SimpleMarkup#convert

RSS::TrackBackModel20::TrackBackAbout#content= (12103.0)

@todo

@todo

絞り込み条件を変える

RSS::TrackBackModel20::TrackBackPing#content= (12103.0)

@todo

@todo

REXML::Instruction#content=(value) (9102.0)

XML 処理命令の内容を変更します。

XML 処理命令の内容を変更します。

@param value 新たなデータ(文字列)

OpenURI::Meta#content_type -> String (6256.0)

対象となるリソースの Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。 Content-Type ヘッダがない場合は、"application/octet-stream" を返します。

...ースの Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。
Content
-Type ヘッダがない場合は、"application/octet-stream" を返します。

//emlist[例][ruby]{
require 'open-uri'
open('http://www.ruby-lang.org/') {|f|
p f.content_type #=> "...
...ースの Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。
Content
-Type ヘッダがない場合は、"application/octet-stream" を返します。

//emlist[例][ruby]{
require 'open-uri'
URI.open('http://www.ruby-lang.org/') {|f|
p f.content_type #...

Net::HTTPHeader#content_type -> String|nil (6242.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/form-data'
req.content_type # => "multipart/form-data"
//}...
<< 1 2 3 ... > >>