nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
contrib/objcwrapper: generate minimal doc above generated properties
[nit.git]
/
contrib
/
objcwrapper
/
src
/
objc_model.nit
diff --git
a/contrib/objcwrapper/src/objc_model.nit
b/contrib/objcwrapper/src/objc_model.nit
index
21a34fa
..
3777f07
100644
(file)
--- a/
contrib/objcwrapper/src/objc_model.nit
+++ b/
contrib/objcwrapper/src/objc_model.nit
@@
-119,4
+119,10
@@
class ObjcParam
# Is this a parameter with only a `name`?
var is_single = false is writable
+
+ redef fun to_s
+ do
+ if is_single then return name
+ return "{name}:({return_type}){variable_name}"
+ end
end