summaryrefslogtreecommitdiff
path: root/lib/rexml
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-19 05:43:26 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-19 05:43:26 +0000
commit690be750cbf107446438249a868e081e3ee3ff09 (patch)
treeecf7b375a4a12ab31233b95894fffdac83892650 /lib/rexml
parentd1ab866d4ab3508c596a48226deb38925f799a88 (diff)
* lib/cgi/html.rb: fix typo by @windwiny [fix GH-506]
* lib/net/http.rb: ditto * lib/rexml/attribute.rb: ditto * lib/rexml/element.rb: ditto * lib/rexml/source.rb: ditto * lib/rexml/streamlistener.rb: ditto * lib/rss/xmlparser.rb: ditto * lib/rubygems/commands/generate_index_command.rb: ditto * lib/shell.rb: ditto * lib/uri/common.rb:ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml')
-rw-r--r--lib/rexml/attribute.rb2
-rw-r--r--lib/rexml/element.rb2
-rw-r--r--lib/rexml/source.rb2
-rw-r--r--lib/rexml/streamlistener.rb2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/rexml/attribute.rb b/lib/rexml/attribute.rb
index 803d021..ef9e544 100644
--- a/lib/rexml/attribute.rb
+++ b/lib/rexml/attribute.rb
@@ -159,7 +159,7 @@ module REXML
self
end
- # Removes this Attribute from the tree, and returns true if successfull
+ # Removes this Attribute from the tree, and returns true if successful
#
# This method is usually not called directly.
def remove
diff --git a/lib/rexml/element.rb b/lib/rexml/element.rb
index c30b150..94b00d7 100644
--- a/lib/rexml/element.rb
+++ b/lib/rexml/element.rb
@@ -206,7 +206,7 @@ module REXML
return namespaces
end
- # Evalutas to the URI for a prefix, or the empty string if no such
+ # Evaluates to the URI for a prefix, or the empty string if no such
# namespace is declared for this element. Evaluates recursively for
# ancestors. Returns the default namespace, if there is one.
# prefix::
diff --git a/lib/rexml/source.rb b/lib/rexml/source.rb
index b653714..a0bbe25 100644
--- a/lib/rexml/source.rb
+++ b/lib/rexml/source.rb
@@ -62,7 +62,7 @@ module REXML
# requirements; for another, the source can be consumed. You can easily
# confuse this method. Originally, the patterns were easier
# to construct and this method more robust, because this method
- # generated search regexes on the fly; however, this was
+ # generated search regexps on the fly; however, this was
# computationally expensive and slowed down the entire REXML package
# considerably, since this is by far the most commonly called method.
# @param pattern must be a Regexp, and must be in the form of
diff --git a/lib/rexml/streamlistener.rb b/lib/rexml/streamlistener.rb
index 8805ffb..3a0528c 100644
--- a/lib/rexml/streamlistener.rb
+++ b/lib/rexml/streamlistener.rb
@@ -13,7 +13,7 @@ module REXML
def tag_start name, attrs
end
# Called when the end tag is reached. In the case of <tag/>, tag_end
- # will be called immidiately after tag_start
+ # will be called immediately after tag_start
# @p the name of the tag
def tag_end name
end