In YARD, can I include a file's contents in an @example block?

40 views Asked by At

Is there any way to do this without copy-pasting the entire file's contents?

Apparently this doesn't work:

  # @example Adding the Bing API
  #   {include:file:lib/search_engines/bing.rb}

If I skip the indentation, the file is rendered - but outside of the example block.

0

There are 0 answers