lib/guillotine/adapters/memory_adapter.rb
def clear_code(code)
      if url = @hash.delete(code)
        @urls.delete(url)
      end
    end
# Public: Removes the assigned short code.
#
# code - The String code to remove.
#
# Returns nothing.
Removes the assigned short code.
code - The String code to remove.

Returns nothing.
Removes the assigned short code . code - The String code to remove . Returns nothing .
def clear_code(code)
      if url = @hash.delete(code)
        @urls.delete(url)
      end
    end
def clear_code ( code ) if url = @hash . delete ( code ) @urls . delete ( url ) end end
Public: Removes the assigned short code.
Public : Removes the assigned short code .
code