I'm working on a rack web app from the ground up in Ruby and I want to be able to share the instances of several objects across all classes in the app. For example, the logger, the request information, a currently authenticated user, get/post parameters, etc.
To any of you familiar with PHP, I've accomplished this in the past with static variables, e.g. self::$params which gets shared across every instance of every class that inherits from the base class.
What's going to be the best way to accomplish this with ruby?