nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
doc: french doc "développez en Nit"
[nit.git]
/
doc
/
developpez
/
poo
/
listings
/
coercition1_c.nit
1
class
Animal
2
end
3
4
class
Vache
5
special
Animal
6
7
fun
broute
8
do
9
print
"La vache broute..."
10
end
11
end
12
13
var
x
:
Animal
=
new
Vache
14
x
.
as
(
Vache
).
broute