summaryrefslogtreecommitdiff
path: root/lib/rexml/light/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/light/node.rb')
-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 0a896c8..b33f78f 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