aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/collectors/composite.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/arel/collectors/composite.rb')
-rw-r--r--activerecord/lib/arel/collectors/composite.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/arel/collectors/composite.rb b/activerecord/lib/arel/collectors/composite.rb
index 4f6156fe27..675a819596 100644
--- a/activerecord/lib/arel/collectors/composite.rb
+++ b/activerecord/lib/arel/collectors/composite.rb
@@ -8,13 +8,13 @@ module Arel
@right = right
end
- def << str
+ def <<(str)
left << str
right << str
self
end
- def add_bind bind, &block
+ def add_bind(bind, &block)
left.add_bind bind, &block
right.add_bind bind, &block
self
@@ -26,7 +26,7 @@ module Arel
protected
- attr_reader :left, :right
+ attr_reader :left, :right
end
end
end