20,741
edits
Line 522: | Line 522: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
This will simply create a function named "new" which accepts an implicit list of arguments (in the implicit "args" vector). The function returns a hash whose parents | This will simply create a function named "new" which accepts an implicit list of arguments (in the implicit "args" vector). The function returns a hash whose parents field is set to the args vector, so this method could even be used for multiple inheritance. | ||