View Source Squeeze.Namer.NameGenerator (OpenPace v0.0.1)

This module creates names for a user and activity.

Link to this section Summary

Functions

Returns the name for the activity

Link to this section Functions

Link to this function

generate_name(map, activity)

View Source

Returns the name for the activity

examples

Examples

iex> generate_name(%User{}, activity) "5mi Afternoon Run"