View Source ExKits.Macros.Constants (lib_oss v0.1.0)
defmodule MyApp.Constant do import Constants
const :facebook_url, "http://facebook.com/rohanpujaris" end
MyApp.Constant.facebook_url # You can use this line anywhere to get the facebook url.
defmodule MyApp.Constant do import Constants
const :facebook_url, "http://facebook.com/rohanpujaris" end
MyApp.Constant.facebook_url # You can use this line anywhere to get the facebook url.