crawlie v0.1.0 Crawlie.Options

Summary

Functions

Gets the option name from the options

Puts a option value in the options

Functions

get(opts, option_name, default \\ nil)
get(Keyword.t, atom, term) :: term

Gets the option name from the options.

If the option isn’t specified in the provided options, but crawlie specifies a default value, the default is returned.

put(opts, option_name, value)
put(Keyword.t, atom, term) :: Keyword.t

Puts a option value in the options