You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: CheckPangramString.rb
    path of file: ./repos/program/program/check-pangram-string
    
    the code of the file until where you have to start completion: def pangram (string)
   # downcase the string, scan it for letters of the alphabet (a-z), remove duplicates and examine the length of the returned array

    
def pangram (string)
   # downcase the string, scan it for letters of the alphabet (a-z), remove duplicates and examine the length of the returned array
   if string.downcase.scan(/[a-z]/).uniq.length == 26 
     puts "Pangram sentence"
   else
     puts "Not a Pangram sentence"
   end
end