class LeoManager::Status::NodeStat

Node Common Status

Public Class Methods

new(h) click to toggle source
# File lib/leo_manager_models.rb, line 138
def initialize(h)
  @@properties.each do |property|
    instance_variable_set("@#{property}", h[property])
  end
  @kernel_poll = (h[:kernel_poll] == "true") if h.has_key?(:kernel_poll)
end