exhtml v0.3.1 Exhtml.Storage.DefaultStorage

Default empty storage.

Summary

Functions

Returns default content for slug which is determinated

Functions

fetch(slug)
fetch(Exhtml.slug) :: binary

Returns default content for slug which is determinated.

  • slug is a key to fetch content with.

Examples:

iex> Exhtml.Storage.DefaultStorage.fetch(:foo)
"default_content_for_foo"