Class: LibXML::XML::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/libxml/xquery/namespaces.rb,
lib/libxml/xquery/string_representation.rb

Instance Method Summary collapse

Instance Method Details

#namespacesObject



64
65
66
# File 'lib/libxml/xquery/namespaces.rb', line 64

def namespaces
  LibXML::XML::Document.namespaces[doc.url]
end

#to_s(sep = nil) ⇒ Object



37
38
39
# File 'lib/libxml/xquery/string_representation.rb', line 37

def to_s(sep = nil)
  content.strip
end