lib/fake_consul/service.rb
# Clear current data
# and delete backing marshalling file
Clear current data
and delete backing marshalling file
Clear current data and delete backing marshalling file
def clear
      services.clear
      return unless File.exist?(db_file)
      File.delete(db_file)
    end
def clear services . clear return unless File . exist? ( db_file ) File . delete ( db_file ) end
Clear current data
and delete backing marshalling file
Clear current data and delete backing marshalling file