aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/offset.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/nodes/offset.rb')
-rw-r--r--lib/arel/nodes/offset.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/arel/nodes/offset.rb b/lib/arel/nodes/offset.rb
index baa4068d93..d93e46aa1f 100644
--- a/lib/arel/nodes/offset.rb
+++ b/lib/arel/nodes/offset.rb
@@ -1,11 +1,7 @@
module Arel
module Nodes
- class Offset
- attr_accessor :value
-
- def initialize value
- @value = value
- end
+ class Offset < Arel::Nodes::Unary
+ alias :value :expr
end
end
end