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
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