I am new to Ruby, using eclipse, DLTK ruby plugin and Ruby 2.0. I created an Ruby module file called AModule.rb which has the code:

```
module AModule
  aConstant = 7
end

```

This is called from a test ruby script in the same project: 

```
require 'AModule'
puts AModule::aConstant

```

In the second line of the above code, i get the error `in '<main>': undefined local variable or method 'aModule' for main:Object (NameError)`

I followed my codeacademy tutorial, so I did not expect this to happen. What is the mistake that I am making here ?

PS: Actually, I wanted to name my module file \*\*aM\*\*odule.rb and not \*\*AM\*\*odule.rb . But, the DLTK plugin quietly makes the first alphabet uppercase. Could this be a bug ?