summaryrefslogtreecommitdiff
path: root/lib/rexml/element.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/element.rb')
-rw-r--r--lib/rexml/element.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rexml/element.rb b/lib/rexml/element.rb
index 92612036a1..3db87c6126 100644
--- a/lib/rexml/element.rb
+++ b/lib/rexml/element.rb
@@ -360,7 +360,7 @@ module REXML
# Iterates through the children, yielding for each Element that
# has a particular text set.
# text::
- # the text to search for. If nil, or not supplied, will itterate
+ # the text to search for. If nil, or not supplied, will iterate
# over all +Element+ children that contain at least one +Text+ node.
# max::
# (optional) causes this method to return after yielding
@@ -989,7 +989,7 @@ module REXML
end
alias :size :length
- # Itterates over the attributes of an Element. Yields actual Attribute
+ # Iterates over the attributes of an Element. Yields actual Attribute
# nodes, not String values.
#
# doc = Document.new '<a x="1" y="2"/>'
@@ -1006,7 +1006,7 @@ module REXML
end
end
- # Itterates over each attribute of an Element, yielding the expanded name
+ # Iterates over each attribute of an Element, yielding the expanded name
# and value as a pair of Strings.
#
# doc = Document.new '<a x="1" y="2"/>'