Packages

Transforms string maps into nested structs: knits strings into something useful.

Current section

Files

Jump to
knit lib types string_type.ex
Raw

lib/types/string_type.ex

defmodule Knit.StringType do
use Knit.Type
def convert(value) when is_binary(value), do: value
def convert(value), do: inspect(value)
end