Well, I read on the help file that Modules have these attr_accessor, reader and writer methods (like in Classes which is inherits Module)... So I tried to define variables using the attr_accessor line, only to realize that it doesn't work...
example:
So well, I'm just curious as to why it doesn't when the help file says that Modules have these attr_accessor... or was it because it was Module's "Private Methods"?
example:
Code:
module Try attr_accessor :rpg_makerendclass Game_Interpreter def oh #will return an error #something like method rpg_maker doesn't exist for Module Try return Try.rpg_maker endend