diff options
Diffstat (limited to 'lib/rexml/light/node.rb')
-rw-r--r-- | lib/rexml/light/node.rb | 2 |
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 |