Update md5_lookup.rb

:)
bug/bundler_fix
Andrey 2016-06-02 18:49:22 +03:00
parent 7dfb06d632
commit 92b62d010f
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ module Md5LookupUtility
# Checks if the hash format is MD5 or not
#
# @param md5_hash [String] The MD5 hash (hex)
# @return [TrueClass/FlaseClass] True if the format is valid, otherwise false
# @return [TrueClass/FalseClass] True if the format is valid, otherwise false
def is_md5_format?(md5_hash)
(md5_hash =~ /^[a-f0-9]{32}$/i) ? true : false
end