aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/algebra/relations/operations/skip.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-26 14:13:00 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-26 14:13:00 -0700
commit29fea82cc67259974a78a5ca8872bd515c9042ae (patch)
tree20725d098a3c8e3a1aba5a47e472daa0d410dfe8 /lib/arel/algebra/relations/operations/skip.rb
parent7e4e37eae9ce82d42a10de2917bc97529fa4a4b3 (diff)
downloadrails-29fea82cc67259974a78a5ca8872bd515c9042ae.tar.gz
rails-29fea82cc67259974a78a5ca8872bd515c9042ae.tar.bz2
rails-29fea82cc67259974a78a5ca8872bd515c9042ae.zip
more class organizing
Diffstat (limited to 'lib/arel/algebra/relations/operations/skip.rb')
-rw-r--r--lib/arel/algebra/relations/operations/skip.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/algebra/relations/operations/skip.rb b/lib/arel/algebra/relations/operations/skip.rb
index f6a58d15bd..5a87fbb7b5 100644
--- a/lib/arel/algebra/relations/operations/skip.rb
+++ b/lib/arel/algebra/relations/operations/skip.rb
@@ -24,5 +24,9 @@ module Arel
engine
end
end
+
+ def eval
+ unoperated_rows[skipped..-1]
+ end
end
end