hi roob,

  if your program is also going to have some kind of settings manager,
so that the user can change various settings, you probably don't want
constants - but rather variables.  i'd put all of the settings into a
module, that you later include in your main file.  this way, if the
settings module is called `Settings`, and you have a variable in that
module called `@volume`, you can just call `Settings.volume` in the main
file to get the value.

  keep in mind that you'll also want to write in some way to create
default settings and a new settings file in case the original settings
file somehow goes missing...

  here's an example:
https://github.com/lljk/gsWax/blob/master/brains/shared.rb


  - j

-- 
Posted via http://www.ruby-forum.com/.