class Dog
  attr_accessor :name, :height, :weight
  @@count = 0
  def initialize(name, height, weight)
    @name = name
    @height = height
    @weight = weight
    @@count += 1
  end
  def bark
    "#{ name } bark!"
  end
  def info
    "#{ name } weights #{ weight } lbs and is #{ height } feet tall"
  end
  def update_info(n, h, w)
    self.name = n
    self.height = h
    self.weight = w
  end
end
teddy = Dog.new('teddy', 3, 100)
fido = Dog.new('fido', 1.5, 150)
puts teddy.info
teddy.update_info('ted', 2, 90)
puts teddy.info