nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b39dce
)
model: make Model::model behaves like for other mentities
author
Alexandre Terrasa
<alexandre@moz-code.org>
Wed, 16 Dec 2015 07:37:51 +0000
(
02:37
-0500)
committer
Alexandre 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
patch
|
blob
|
history
diff --git
a/src/model/model_base.nit
b/src/model/model_base.nit
index
2d2dfa0
..
5cfe9b2
100644
(file)
--- a/
src/model/model_base.nit
+++ b/
src/model/model_base.nit
@@
-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.