cman_nodes.rb
def metric(name,type,value)
  @metrics[name] = {
    :type => type,
    :value => value
  }
end
# Store metrics in a hash and don't print them until we've completed
Store metrics in a hash and don't print them until we've completed
Store metrics in a hash and don ' t print them until we ' ve completed
def metric(name,type,value)
  @metrics[name] = {
    :type => type,
    :value => value
  }
end
def metric ( name , type , value ) @metrics [ name ] = { :type => type , :value => value } end
Store metrics in a hash and don't print them until we've completed
Store metrics in a hash and don ' t print them until we ' ve completed
name
type
value