Skip to content

Simple block example returning nil #1289

Answered by gettalong
dylan-hoefsloot asked this question in Q&A
Discussion options

You must be logged in to vote

As you can see in the documentation you referenced, the return value is never used in the examples. Also, it doesn't say anywhere that the document instance is returned.

The "Object" that is mentioned on the method definition line in the documentation as return value is probably just some Yard thing in that they always have to display something there.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gettalong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants