lib/gitlab_exporter/memstats/mapping.rb in gitlab-exporter-8.0.0 vs lib/gitlab_exporter/memstats/mapping.rb in gitlab-exporter-9.0.0
- old
+ new
@@ -23,10 +23,10 @@
# KernelPageSize: 4 kB
# MMUPageSize: 4 kB
# Locked: 0 kB
# VmFlags: rd ex mr mw me dw sd
class Mapping
- FIELDS = %w(size rss shared_clean shared_dirty private_clean private_dirty swap pss).freeze
+ FIELDS = %w[size rss shared_clean shared_dirty private_clean private_dirty swap pss].freeze
attr_reader :address_start
attr_reader :address_end
attr_reader :perms
attr_reader :offset