model: Generalize access to `model` form `MEntitiy`.
authorAlexandre Terrasa <alexandre@moz-code.org>
Mon, 21 Jul 2014 18:29:31 +0000 (14:29 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Mon, 21 Jul 2014 18:29:31 +0000 (14:29 -0400)
commit6f6cdc9c14ead71dc26783b25a178abf2857c7e4
tree00dc70790098eed8d1acd9f8e9dea30f3555cef0
parent1dcdeb78e2b8cb0894fe3c015cb430df2bec8621
model: Generalize access to `model` form `MEntitiy`.

Since, MEntity are model things, let the user access to the model from them.

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/model/mmodule.nit
src/model/model.nit
src/model/model_base.nit
src/model/mproject.nit