class Sheep
attr_reader :genome, :name
def initialize(name:)
@name = name
@genome = Random.new_seed
end
end
molly = Sheep.new(name: 'Molly')
molly.genome # => 58277341567052563563790228364424051023
dolly = Sheep.new(name: 'Dolly')
molly.genome == dolly.genome # => false
dolly = molly.clone(name: 'Dolly')
molly.genome == dolly.genome # => true