samples/06_save_load/01_save_load_game/app/main.rb
def fire_ready?
    # If fire_progress (value between 0 and 10) is equal to fire_ready_in (value of 10),
    # the fire is ready to be lit.
    state.fire_progress == state.fire_ready_in
  end
# Checks if the fire is ready to be lit. Returns a boolean value.
Checks if the fire is ready to be lit. Returns a boolean value.
Checks if the fire is ready to be lit . Returns a boolean value .
def fire_ready?
    state.fire_progress == state.fire_ready_in
  end
def fire_ready? state . fire_progress == state . fire_ready_in end
Checks if the fire is ready to be lit.
Checks if the fire is ready to be lit .
# If fire_progress (value between 0 and 10) is equal to fire_ready_in (value of 10), # the fire is ready to be lit.