06/lanternfish.rb
# Increase age by a day.
# Possibly return a new Lanternfish.
Increase age by a day.
Possibly return a new Lanternfish.
Increase age by a day . Possibly return a new Lanternfish .
def age
    @age -= 1
    if @age < 0
      @age = 6
      Lanternfish.new
    end
  end
def age @age -= 1 if @age < 0 @age = 6 Lanternfish . new end end
Increase age by a day.
Increase age by a day .