mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Match convention to use Ruby semantics for predicates
This commit is contained in:
parent
493edf044f
commit
cd30ec1fe5
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ module ActiveStorage
|
|||
end
|
||||
|
||||
def public?
|
||||
!!@public
|
||||
@public
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue