# Default is public, so you don't really need to use that keyword.
class Animal
def initialize(color)
@color = color
end
public
def get_color
return @color
end
end
animal = Animal.new("brown")
puts "The new animal is " + animal.get_color