るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

キーワード

検索結果

<< < 1 2 3 4 ... > >>

REXML::Attributes#get_attribute_ns(namespace, name) -> REXML::Attribute | nil (9102.0)

namespace と name で特定される属性を返します。

...ist[][ruby]{
require 'rexml/document'

doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='&lt;'/>
</root>
EOS
a = doc.get_elements("/root/a").first

a.attributes.get_attribute_ns("", "att") # => att='...
...&lt;'
a.attributes.get_attribute_ns("http://example.org/foo", "att") # => foo:att='1'
a.attributes.get_attribute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.org/foo", "attt") # => nil
//}...

REXML::DocType#entity(name) -> String | nil (9102.0)

name という実体参照名を持つ実体を文字列で返します。

...(REXML::Entity#unnormalized 参照)
された文字列が返されます。

name という名前を持つ実体が存在しない場合には nil を返します。

@param name 実体参照名(文字列)

//emlist[][ruby]{
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE foo [
<!ENTITY bar...
..."barbarbarbar">
]>
EOS
p doctype.entity("bar") # => "barbarbar"
p doctype.entity("foo") # => nil
//}...

REXML::DocType#node_type -> Symbol (9102.0)

Symbol :doctype を返します。

...Symbol :doctype を返します。...

REXML::ExternalEntity#write(output, indent) -> () (9102.0)

output へ self を文字列化して出力します。

...output へ self を文字列化して出力します。

このメソッドは deprecated です。REXML::Formatter で
出力してください。

@param output 出力先の IO オブジェクト
@param indent インデントの大きさ。無視されます。...

REXML::Formatters::Pretty#compact -> bool (9102.0)

出力をコンパクトにするかどうかを返します。

...出力をコンパクトにするかどうかを返します。

これが真の場合、出力の空白をできる限り削除しようとします。

デフォルト値は false です。

@see REXML::Formatters::Pretty#compact=...

絞り込み条件を変える

REXML::Formatters::Pretty#compact=(c) (9102.0)

出力をコンパクトにするかどうかを設定します。

...出力をコンパクトにするかどうかを設定します。

@param c コンパクトな出力をするかどうかを指定します。
@see REXML::Formatters::Pretty#compact...

REXML::Formatters::Pretty#width -> Integer (9102.0)

出力のページ幅を返します。

...出力のページ幅を返します。

デフォルトは80です。

@see REXML::Formatters::Pretty#width=...

REXML::Formatters::Pretty#width=(w) (9102.0)

出力のページ幅を設定します。

...出力のページ幅を設定します。

@param w ページ幅の設定値
@see REXML::Formatters::Pretty#width...

REXML::ParseException#context -> [Integer, Integer, Integer] (6403.0)

パースエラーが起きた(XML上の)場所を返します。

...エラーが起きた(XML上の)場所を返します。

要素3個の配列で、
[position, lineno, line]
という形で返します。
position, line は
REXML
::ParseException#position
REXML
::ParseException#line
と同じ値です。
lineno は IO#lineno が返す意味での行数です。...
<< < 1 2 3 4 ... > >>