Class: FastXml::Doc

Inherits:
Object
  • 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

Constructor Details

#initializeObject

Doc

Instance Method Details

#childrenObject

#doc?Boolean

Returns:

  • (Boolean)


31
32
33
# File 'lib/fastxml_lib.rb', line 31

def doc?
  true
end

#doctype?Boolean

Returns:

  • (Boolean)


35
36
37
# File 'lib/fastxml_lib.rb', line 35

def doctype?
  nil
end

#forgiving?Boolean

Returns:

  • (Boolean)


39
40
41
# File 'lib/fastxml_lib.rb', line 39

def forgiving?
  (@forgiving ||= false)
end

#inspectObject

#rootObject

#searchObject

#stylesheetObject

#stylesheet=Object

#to_sObject

#transformObject

#validate?Boolean

Returns:

  • (Boolean)


43
44
45
# File 'lib/fastxml_lib.rb', line 43

def  validate?
  (@validate_dtd ||= false)
end

#xpathObject



47
48
49
# File 'lib/fastxml_lib.rb', line 47

def xpath
  "/"
end