diff options
Diffstat (limited to 'lib/arel/engines/memory/primitives.rb')
-rw-r--r-- | lib/arel/engines/memory/primitives.rb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/lib/arel/engines/memory/primitives.rb b/lib/arel/engines/memory/primitives.rb index 4d5c76e956..77d4c1a52c 100644 --- a/lib/arel/engines/memory/primitives.rb +++ b/lib/arel/engines/memory/primitives.rb @@ -1,2 +1,13 @@ -require 'arel/engines/memory/primitives/attribute' -require 'arel/engines/memory/primitives/value' +module Arel + class Attribute + def eval(row) + row[self] + end + end + + class Value + def eval(row) + value + end + end +end
\ No newline at end of file |