summaryrefslogtreecommitdiff
path: root/lib/rexml/light
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/light')
-rw-r--r--lib/rexml/light/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rexml/light/node.rb b/lib/rexml/light/node.rb
index 0a896c83dc..b33f78f7ce 100644
--- a/lib/rexml/light/node.rb
+++ b/lib/rexml/light/node.rb
@@ -40,7 +40,7 @@ module REXML
end
end
- def each( &block )
+ def each
size.times { |x| yield( at(x+4) ) }
end