nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
html_model: Remove new_msignature
[nit.git]
/
src
/
doc
/
templates
/
term_model.nit
diff --git
a/src/doc/templates/term_model.nit
b/src/doc/templates/term_model.nit
index
4a442c5
..
b33ce7f
100644
(file)
--- a/
src/doc/templates/term_model.nit
+++ b/
src/doc/templates/term_model.nit
@@
-35,7
+35,7
@@
redef class MDoc
return res.write_to_string
end
return res.write_to_string
end
- # Returns the synopsys formatted for the console
+ # Returns the synopsis formatted for the console
fun cs_short_comment(no_color: nullable Bool): String do
if no_color == null or not no_color then
return content.first.green
fun cs_short_comment(no_color: nullable Bool): String do
if no_color == null or not no_color then
return content.first.green
@@
-199,9
+199,6
@@
end
redef class MMethodDef
redef fun cs_signature(no_color) do
redef class MMethodDef
redef fun cs_signature(no_color) do
- if mproperty.is_root_init then
- return new_msignature.as(not null).cs_signature(no_color)
- end
return msignature.as(not null).cs_signature(no_color)
end
end
return msignature.as(not null).cs_signature(no_color)
end
end