diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-18 20:10:11 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-04-18 20:10:11 +0000 |
commit | 7d010055142c14aa5ee56ac5aae600dfdc03dcae (patch) | |
tree | 4fb48093012daf856db94f75d507d7d8bff9957f /actionpack/lib/action_controller/vendor | |
parent | f46486d37ebe1d2d7354cf46dd024690a6d25c9a (diff) | |
download | rails-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')
4 files changed, 11 insertions, 11 deletions
diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb index a196bdea44..e14d9de166 100644 --- a/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb +++ b/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb @@ -1,11 +1,11 @@ require 'html/tokenizer' require 'html/node' -module HTML +module HTML#:nodoc: # A top-level HTMl document. You give it a body of text, and it will parse that # text into a tree of nodes. - class Document + class Document #:nodoc: # The root of the parsed document. attr_reader :root 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 diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb index 11bd48708e..2c3ee922d9 100644 --- a/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +++ b/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb @@ -1,6 +1,6 @@ require 'strscan' -module HTML +module HTML#:nodoc: # A simple HTML tokenizer. It simply breaks a stream of text into tokens, where each # token is a string. Each string represents either "text", or an HTML element. @@ -13,7 +13,7 @@ module HTML # while token = tokenizer.next # p token # end - class Tokenizer + class Tokenizer#:nodoc: # The current (byte) position in the text attr_reader :position diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb index 90025fa57f..761ea40294 100644 --- a/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb +++ b/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb @@ -1,5 +1,5 @@ -module HTML - module Version +module HTML#:nodoc: + module Version#:nodoc: MAJOR = 0 MINOR = 5 |