Class: FastXml::Doc
- Inherits:
-
Object
show all
- Includes:
- Common
- Defined in:
- lib/fastxml_lib.rb,
ext/fastxml.c
Instance Method Summary
collapse
Methods included from Common
#/, #at, #children_of_type, #each_child
Instance Method Details
#children ⇒ Object
#doc? ⇒ Boolean
31
32
33
|
# File 'lib/fastxml_lib.rb', line 31
def doc?
true
end
|
#doctype? ⇒ Boolean
35
36
37
|
# File 'lib/fastxml_lib.rb', line 35
def doctype?
nil
end
|
#forgiving? ⇒ Boolean
39
40
41
|
# File 'lib/fastxml_lib.rb', line 39
def forgiving?
(@forgiving ||= false)
end
|
#inspect ⇒ Object
#root ⇒ Object
#search ⇒ Object
#stylesheet ⇒ Object
#stylesheet= ⇒ Object
#to_s ⇒ Object
#validate? ⇒ Boolean
43
44
45
|
# File 'lib/fastxml_lib.rb', line 43
def validate?
(@validate_dtd ||= false)
end
|
#xpath ⇒ Object
47
48
49
|
# File 'lib/fastxml_lib.rb', line 47
def xpath
"/"
end
|