Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Documentation/Fancy/documentation.fancy
Normal file
13
Task/Documentation/Fancy/documentation.fancy
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
def class Foo {
|
||||
"""
|
||||
This is a docstring. Every object in Fancy can have it's own docstring.
|
||||
Either defined in the source code, like this one, or by using the Object#docstring: method
|
||||
"""
|
||||
def a_method {
|
||||
"""
|
||||
Same for methods. They can have docstrings, too.
|
||||
"""
|
||||
}
|
||||
}
|
||||
Foo docstring println # prints docstring Foo class
|
||||
Foo instance_method: 'a_method . docstring println # prints method's docstring
|
||||
Loading…
Add table
Add a link
Reference in a new issue