class Animal attr_accessor :color def initialize(color) @color = color endendanimal = Animal.new("brown")puts "The new animal is " + animal.coloranimal.color = "red"puts "Now the new animal is " + animal.color