model: make Model::model behaves like for other mentities
authorAlexandre Terrasa <alexandre@moz-code.org>
Wed, 16 Dec 2015 07:37:51 +0000 (02:37 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Sat, 19 Dec 2015 05:55:17 +0000 (00:55 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/model/model_base.nit

index 2d2dfa0..5cfe9b2 100644 (file)
@@ -21,6 +21,8 @@ module model_base
 # A model knows modules, classes and properties and can retrieve them.
 class Model
        super MEntity
+
+       redef fun model do return self
 end
 
 # A named and possibly documented entity in the model.