diff --git a/lib/apricot/ruby_ext.rb b/lib/apricot/ruby_ext.rb index 3141fb5..b2ee72c 100644 --- a/lib/apricot/ruby_ext.rb +++ b/lib/apricot/ruby_ext.rb @@ -71,6 +71,10 @@ def each def count @array.length - @offset end + + def to_a + @array[@offset..-1] + end end end