mirror of https://github.com/rails/rails
Restore the Entry#bytesize comments removed in #41882
This commit is contained in:
parent
6a5fb7dbd4
commit
93e5388653
|
@ -845,7 +845,9 @@ module ActiveSupport
|
|||
end
|
||||
end
|
||||
|
||||
def bytesize # :nodoc:
|
||||
# Returns the size of the cached value. This could be less than
|
||||
# <tt>value.bytesize</tt> if the data is compressed.
|
||||
def bytesize
|
||||
case value
|
||||
when NilClass
|
||||
0
|
||||
|
|
Loading…
Reference in New Issue