Silly.random_name

You're seeing just the function random_name, go back to Silly module for more information.

Pull a random name out of the set

Examples

Test that we get a word from the list of words.

iex> Enum.member?(Tuple.to_list(Silly.names), Silly.random_name())
true