るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

クラス

キーワード

検索結果

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

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

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

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

REXML::Document#encoding -> String (9421.0)

XML 宣言に含まれている XML 文書のエンコーディングを返します。

...宣言を持たない場合はデフォルトの値
(REXML::XMLDecl.defaultで宣言されているもの)を返します。

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

REXML::Document#version -> String (9315.0)

XML 宣言に含まれている XML 文書のバージョンを返します。

...XML 宣言を持たない場合はデフォルトの値
(REXML::XMLDecl.defaultで宣言されているもの)を返します。

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

REXML::Document#stand_alone? -> String (6331.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 (6304.0)

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

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

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

絞り込み条件を変える

REXML::XMLDecl#xmldecl(version, encoding, standalone) -> () (410.0)

内容を更新します。

...内容を更新します。

@param version バージョン(文字列)
@param encoding エンコーディング(文字列 or nil)
@param standalone スタンドアロン文章かどうか("yes", "no", nil)...