mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use private attr_reader in Arel
No longer needed workaround for Ruby 2.2 "private attribute?" warning.
Related 6d63b5e49a
.
This commit is contained in:
parent
8bc0a43a24
commit
09de7c9170
3 changed files with 3 additions and 6 deletions
|
@ -24,8 +24,7 @@ module Arel # :nodoc: all
|
|||
[left.value, right.value]
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
private
|
||||
attr_reader :left, :right
|
||||
end
|
||||
end
|
||||
|
|
|
@ -21,8 +21,7 @@ module Arel # :nodoc: all
|
|||
delegate.value
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
private
|
||||
attr_reader :quoter, :delegate
|
||||
end
|
||||
end
|
||||
|
|
|
@ -104,8 +104,7 @@ module Arel # :nodoc: all
|
|||
!type_caster.nil?
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
private
|
||||
attr_reader :type_caster
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue