1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Memory::Status#_update should return self

This commit is contained in:
Nobuyoshi Nakada 2021-08-29 16:32:12 +09:00
parent 7487371eeb
commit 6c40aa35a5
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -95,6 +95,7 @@ if defined?(Memory::Status)
Memory.read_status do |key, val|
self[key] = val
end
self
end unless method_defined?(:_update)
Header = members.map {|k| k.to_s.upcase.rjust(6)}.join('')