aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/arel/collectors/substitute_binds.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-09-30 15:24:17 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-09-30 15:24:17 +0900
commit09de7c91707b83a6c6ff8ab1a176cc1bf92ebb4d (patch)
treec713ca431ca163e2620ee8183e6f044bb5e867d4 /activerecord/lib/arel/collectors/substitute_binds.rb
parent8bc0a43a2471f353f957bd422bffafa510a44282 (diff)
downloadrails-09de7c91707b83a6c6ff8ab1a176cc1bf92ebb4d.tar.gz
rails-09de7c91707b83a6c6ff8ab1a176cc1bf92ebb4d.tar.bz2
rails-09de7c91707b83a6c6ff8ab1a176cc1bf92ebb4d.zip
Use private attr_reader in Arel
No longer needed workaround for Ruby 2.2 "private attribute?" warning. Related 6d63b5e49a399fe246afcebad45c3c962de268fa.
Diffstat (limited to 'activerecord/lib/arel/collectors/substitute_binds.rb')
-rw-r--r--activerecord/lib/arel/collectors/substitute_binds.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/lib/arel/collectors/substitute_binds.rb b/activerecord/lib/arel/collectors/substitute_binds.rb
index 3f40eec8a8..4b894bc4b1 100644
--- a/activerecord/lib/arel/collectors/substitute_binds.rb
+++ b/activerecord/lib/arel/collectors/substitute_binds.rb
@@ -21,8 +21,7 @@ module Arel # :nodoc: all
delegate.value
end
- protected
-
+ private
attr_reader :quoter, :delegate
end
end