mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Restore the Entry#bytesize comments removed in #41882
This commit is contained in:
parent
6a5fb7dbd4
commit
93e5388653
1 changed files with 3 additions and 1 deletions
|
@ -845,7 +845,9 @@ module ActiveSupport
|
||||||
end
|
end
|
||||||
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
|
case value
|
||||||
when NilClass
|
when NilClass
|
||||||
0
|
0
|
||||||
|
|
Loading…
Reference in a new issue