From: Frank Guerino Date: 2010-08-17T20:34:40+09:00 Subject: Refactoring Global Constants Hi, I'm going to ask a dumb question (sorry for that, in advance)... What's the most elegant syntax and form for refactoring Global Constants out of Ruby code so they can be shared across different Ruby code files? For example, I have a variable that shows up in three different files and looks like: maxColumns = 30 I'd like to know what the most elegant way is to define it in one place and share it, across files. BTW, if there's a book or document out there that specifically talks about different ways to refactor Ruby Code, I'd appreciate a pointer to it. Thanks for your help, FG -- Posted via http://www.ruby-forum.com/.