In Sinatra(Ruby), how should I create global variables which are assigned values only once in the application lifetime? - Stack Overflow

https://stackoverflow.com/questions/4525482/in-sinatraruby-how-should-i-create-global-variables-which-are-assigned-values
Sinatra state management tips