aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-18 20:10:11 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-18 20:10:11 +0000
commit7d010055142c14aa5ee56ac5aae600dfdc03dcae (patch)
tree4fb48093012daf856db94f75d507d7d8bff9957f /actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
parentf46486d37ebe1d2d7354cf46dd024690a6d25c9a (diff)
downloadrails-7d010055142c14aa5ee56ac5aae600dfdc03dcae.tar.gz
rails-7d010055142c14aa5ee56ac5aae600dfdc03dcae.tar.bz2
rails-7d010055142c14aa5ee56ac5aae600dfdc03dcae.zip
Fixed documentation and prepared for release of 0.12
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/vendor/html-scanner/html/node.rb')
-rw-r--r--actionpack/lib/action_controller/vendor/html-scanner/html/node.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
index 018309a9f9..b3979fa3cb 100644
--- a/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
+++ b/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb
@@ -1,8 +1,8 @@
require 'strscan'
-module HTML
+module HTML#:nodoc:
- class Conditions < Hash
+ class Conditions < Hash#:nodoc:
def initialize(hash)
super()
hash = { :content => hash } unless Hash === hash
@@ -53,7 +53,7 @@ module HTML
end
# The base class of all nodes, textual and otherwise, in an HTML document.
- class Node
+ class Node#:nodoc:
# The array of children of this node. Not all nodes have children.
attr_reader :children
@@ -167,7 +167,7 @@ module HTML
end
# A node that represents text, rather than markup.
- class Text < Node
+ class Text < Node#:nodoc:
attr_reader :content
@@ -223,7 +223,7 @@ module HTML
# A Tag is any node that represents markup. It may be an opening tag, a
# closing tag, or a self-closing tag. It has a name, and may have a hash of
# attributes.
- class Tag < Node
+ class Tag < Node#:nodoc:
# Either +nil+, <tt>:close</tt>, or <tt>:self</tt>
attr_reader :closing