Module Variable

Hi Guys,
I am beginer in ruby. could u pl. tell me How to access a module
variable from a class defined in that module.

Asmita C. wrote in post #1127119:

Hi Guys,
I am beginer in ruby. could u pl. tell me How to access a module
variable from a class defined in that module.

http://ruby-doc.com/docs/ProgrammingRuby/

See section Modules
(http://ruby-doc.com/docs/ProgrammingRuby/html/tut_modules.html)

regards,
seba

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs