Skip to content

Instantly share code, notes, and snippets.

@Haseeb-Qureshi
Last active April 4, 2017 23:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Haseeb-Qureshi/32224d08a3c1350dc849521618b0b0ac to your computer and use it in GitHub Desktop.
Save Haseeb-Qureshi/32224d08a3c1350dc849521618b0b0ac to your computer and use it in GitHub Desktop.
private
def find_starting_letter!
candidate_letters = ALPHABET - SUBJECT.chars
@password = candidate_letters.find { |char| @api.include?(char) }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment