Current section
Files
Jump to
Current section
Files
lib/dictionary.ex
defmodule Dictionary do
alias Dictionary.Runtime.Server
@opaque t :: Server.t()
@doc ~S"""
use this method to generate a random english word
"""
@spec generate_random() :: String.t()
defdelegate generate_random(), to: Server, as: :get_random
end