From: "saudaziz@..." Date: 2006-03-08T04:38:41+09:00 Subject: Accessing variables/constants from another file How can i access "myvariable" in the provided code from Say constants.rb has the following code Module myvariable = 'foo' end And another file driver.rb has following code require constants class myclass < food def busted #how can i call 'myvariable' constant here? end end Also, if you can tell me what exactly is the difference between require and include, that would be great help. I don't see any clear explanation anywhere for the above.