hello,

module MyModule
  def MyModule.mymethod(var)
    @var = var
  end
end

1. when module method MyModule.mymethod creates module variable @var,
and no class mixes in this module, where is this variable created?

2. module variables become class variables for the classes that mix in
the module. so if the module method MyModule.mymethod changes module
variable @var then this variable is changed in all the classes/objects
that have this module mixed in. is this correct?

thanks
konstantin