class REXML::Comment + Comparable + REXML::Child + REXML::Node
クラスの継承リスト: REXML::Comment < Comparable < REXML::Child < REXML::Node < Object < Kernel < BasicObject
要約
特異メソッド
new(first, second = nil)
-
[TODO]
new(parent = nil)
-
[TODO]
インスタンスメソッド
self < other -> bool
-
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が負の整数を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。
- [PARAM] other:
- 自身と比較したいオブジェクトを指定します。
- [EXCEPTION] ArgumentError:
- <=> が nil を返したときに発生します。
self <= other -> bool
-
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が負の整数か 0 を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。
- [PARAM] other:
- 自身と比較したいオブジェクトを指定します。
- [EXCEPTION] ArgumentError:
- <=> が nil を返したときに発生します。
self <=> other
-
[TODO]
self == other
-
[TODO]
self == other -> bool | nil
-
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が 0 を返した時に、true を返します。 それ以外を返した場合は、false を返します。
- [PARAM] other:
- 自身と比較したいオブジェクトを指定します。
self > other -> bool
-
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が正の整数を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。
- [PARAM] other:
- 自身と比較したいオブジェクトを指定します。
- [EXCEPTION] ArgumentError:
- <=> が nil を返したときに発生します。
self >= other -> bool
-
比較演算子 <=> をもとにオブジェクト同士を比較します。 <=> が正の整数か 0 を返した場合に、true を返します。 それ以外の整数を返した場合に、false を返します。
- [PARAM] other:
- 自身と比較したいオブジェクトを指定します。
- [EXCEPTION] ArgumentError:
- <=> が nil を返したときに発生します。
between?(min, max) -> bool
-
比較演算子 <=> をもとに self が min と max の範囲内(min, max を含みます)にあるかを判断します。
以下のコードと同じです。
self >= min and self <= max
- [PARAM] min:
- 範囲の下端を表すオブジェクトを指定します。
- [PARAM] max:
- 範囲の上端を表すオブジェクトを指定します。
- [EXCEPTION] ArgumentError:
- self <=> min か、self <=> max が nil を返 したときに発生します。
3.between?(1, 5) #=> true 6.between?(1, 5) #=> false 'cat'.between?('ant', 'dog') #=> true 'gnu'.between?('ant', 'dog') #=> false
bytes
-
[TODO]
clone
-
[TODO]
document
-
[TODO]
each_recursive {|node| ... }
-
[TODO]
find_first_recursive {|node| ... }
-
[TODO]
indent(to, ind)
-
[TODO]
index_in_parent
-
[TODO]
next_sibling
-
[TODO]
next_sibling=(other)
-
[TODO]
next_sibling_node
-
[TODO]
node_type
-
[TODO]
parent
-
[TODO]
parent=(other)
-
[TODO]
parent?
-
[TODO]
previous_sibling
-
[TODO]
previous_sibling=(other)
-
[TODO]
previous_sibling_node
-
[TODO]
remove
-
[TODO]
replace_with(child)
-
[TODO]
string
string=(value)
-
[TODO]
to_s
-
[TODO]
to_s(indent = -1)
-
[TODO]
write(output, indent = -1, transitive = false, ie_hack = false)
-
[TODO]
定数
START
-
[TODO]
STOP
-
[TODO]