A set of utilities for working with the AT Protocol in Elixir.

fix(nsid): PascalCase parts of NSID so that module names look proper

ovyerus.com 820905b4 16cd6fae

verified
Changed files
+1 -1
lib
atex
+1 -1
lib/atex/nsid.ex
···
def to_atom(nsid, fully_qualify \\ true) do
nsid
|> String.split(".")
-
|> Enum.map(&String.capitalize/1)
+
|> Enum.map(&Recase.to_pascal/1)
|> then(fn parts ->
if fully_qualify do
["Elixir" | parts]