class Vmstator::SlabInfo
Attributes
caches[R]
attrs for each attribute
Public Class Methods
new(data=false)
click to toggle source
# File lib/vmstator/linux/slab_info.rb, line 7 def initialize(data=false) @caches = [] if data update(data) end true end
Public Instance Methods
update(data)
click to toggle source
# File lib/vmstator/linux/slab_info.rb, line 15 def update(data) if data @caches << Cache.new(data) else return false end true end