るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.122秒)
トップページ > クエリ:String[x] > バージョン:2.1.0[x] > クエリ:a[x] > クエリ:standalone[x]

別のキーワード

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

ライブラリ

クラス

検索結果

REXML::XMLDecl#standalone -> String | nil (63910.0)

スタンドアロン文書であるかどうかを "yes" "no" で 返します。

スタンドアロン文書であるかどうかを "yes" "no" で
返します。

nil(省略)を返す場合もあります。

REXML::Document#stand_alone? -> String (18670.0)

XML 宣言の standalone の値を文字列で返します。

XML 宣言の standalone の値を文字列で返します。

//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.stand_alone? # => "yes"
//}

REXML::XMLDecl#stand_alone? -> String | nil (18610.0)

スタンドアロン文書であるかどうかを "yes" "no" で 返します。

スタンドアロン文書であるかどうかを "yes" "no" で
返します。

nil(省略)を返す場合もあります。