Sha256: 0eef66f1b8f6b75e9642a55789d301cfedca79ec3e1a13e55a21872f6276b6a1
Contents?: true
Size: 254 Bytes
Versions: 3
Compression:
Stored size: 254 Bytes
Contents
module Arel class Take < Compound attr_reader :taken def initialize relation, taken super(relation) @taken = taken end def externalizable? true end def eval unoperated_rows[0, taken] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
arel-1.0.1 | lib/arel/algebra/relations/operations/take.rb |
arel-1.0.0 | lib/arel/algebra/relations/operations/take.rb |
arel-1.0.0.rc1 | lib/arel/algebra/relations/operations/take.rb |