diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2013-12-20 00:10:30 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2013-12-20 00:10:30 +0530 |
commit | a3b1105ada3da64acfa3843b164b14b734456a50 (patch) | |
tree | b3af8434bf411419bb0bc51aaac306ffe1451b95 /actionview/lib/action_view/vendor/html-scanner/html | |
parent | 3968870d31dc5ab272b5e77904c45183227696be (diff) | |
parent | 4dd8b0b5484289eaa30975dbd45bf7112f43a64a (diff) | |
download | rails-a3b1105ada3da64acfa3843b164b14b734456a50.tar.gz rails-a3b1105ada3da64acfa3843b164b14b734456a50.tar.bz2 rails-a3b1105ada3da64acfa3843b164b14b734456a50.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'actionview/lib/action_view/vendor/html-scanner/html')
3 files changed, 4 insertions, 4 deletions
diff --git a/actionview/lib/action_view/vendor/html-scanner/html/node.rb b/actionview/lib/action_view/vendor/html-scanner/html/node.rb index 7e7cd4f7b6..27f0f2f6f8 100644 --- a/actionview/lib/action_view/vendor/html-scanner/html/node.rb +++ b/actionview/lib/action_view/vendor/html-scanner/html/node.rb @@ -71,12 +71,12 @@ module HTML #:nodoc: @line, @position = line, pos end - # Return a textual representation of the node. + # Returns a textual representation of the node. def to_s @children.join() end - # Return false (subclasses must override this to provide specific matching + # Returns false (subclasses must override this to provide specific matching # behavior.) +conditions+ may be of any type. def match(conditions) false diff --git a/actionview/lib/action_view/vendor/html-scanner/html/selector.rb b/actionview/lib/action_view/vendor/html-scanner/html/selector.rb index 7f8609c408..dfdd724b9b 100644 --- a/actionview/lib/action_view/vendor/html-scanner/html/selector.rb +++ b/actionview/lib/action_view/vendor/html-scanner/html/selector.rb @@ -488,7 +488,7 @@ module HTML end - # Return the next element after this one. Skips sibling text nodes. + # Returns the next element after this one. Skips sibling text nodes. # # With the +name+ argument, returns the next element with that name, # skipping other sibling elements. diff --git a/actionview/lib/action_view/vendor/html-scanner/html/tokenizer.rb b/actionview/lib/action_view/vendor/html-scanner/html/tokenizer.rb index 8ac8d34430..adf4e45930 100644 --- a/actionview/lib/action_view/vendor/html-scanner/html/tokenizer.rb +++ b/actionview/lib/action_view/vendor/html-scanner/html/tokenizer.rb @@ -30,7 +30,7 @@ module HTML #:nodoc: @current_line = 1 end - # Return the next token in the sequence, or +nil+ if there are no more tokens in + # Returns the next token in the sequence, or +nil+ if there are no more tokens in # the stream. def next return nil if @scanner.eos? |