|
|
|
|
|
by arnvald
4092 days ago
|
|
Since Ruby 2.1 (IIRC), method definition returns symbol, therefore it's possible to something like typesig def meth(arg)
arg
end, [Numeric] => Numeric Although it's still end of the method, it already suggests that signature will be there |
|