るりまサーチ

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

別のキーワード

  1. string []=
  2. string slice!
  3. string slice
  4. string []
  5. string gsub

検索結果

<< < 1 2 3 >>

REXML::Comment#<=>(other) -> -1 | 0 | 1 (3033.0)

other と内容(REXML::Comment#string)を比較します。

...other と内容(REXML::Comment#string)を比較します。...

REXML::Comment#==(other) -> bool (3033.0)

other と内容(REXML::Comment#string)が同じならば真を返します。

...other と内容(REXML::Comment#string)が同じならば真を返します。...

REXML::DocType#attribute_of(element, attribute) -> String | nil (114.0)

DTD 内の属性リスト宣言で、 element という名前の要素の 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 #REQUIRED
publisher CDATA "foobar publisher">...

Net::HTTPHeader#content_type -> String|nil (108.0)

"text/html" のような 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 # => "m...
<< < 1 2 3 >>