Elixirでは以下のように @neko と定義することで、このモジュール内で共通して使える要素を定義できます。最近使い方を誤ってしまったのですが、この値はコンパイル時に決定されるので、それ以降に読まれる値を設定することはできません。
defmodule Sample do @neko "value" end
In other words, the value is read at compilation time and not at runtime. As we are going to see, this makes attributes useful to be used as storage during module compilation.
http://elixir-lang.org/getting-started/module-attributes.html
例えば、
defmodule Sample do @neko Application.get_env :sample, :value, "default" end
というような用途では、必ず default が代入されます。
つい忘れていてつまづいたので、メモ…