lib/apricoteatsgorilla/xml_node.rb in smacks-apricoteatsgorilla-0.5.1 vs lib/apricoteatsgorilla/xml_node.rb in smacks-apricoteatsgorilla-0.5.2
- old
+ new
@@ -1,14 +1,14 @@
# == XMLNode
#
# Representation of an XML node. Inherits from String and includes some
-# useful methods for namespaces, attributes, body content etc.
+# useful XML-specific methods for namespaces, attributes, node content etc.
class XMLNode < String
# Hash of attributes.
attr_writer :attributes
- # Body content.
+ # Node body content.
attr_writer :body
# Strips the namespace from this node.
def strip_namespace!
sub!(/.+:(.+)/, '\1')