Currently, YARD only supports embedding documentation from other docstrings objects in the form:
class Foo # Docstring here def method; end # Here is some more docs and {include:Foo#method} def bar; end end
The inclusion of the file was vaguely planned, but it had never been requested before, so it was not a high priority. If you want to open the problem at http://github.com/lsegal/yard/issues - we can make sure that it will be tracked and added for the upcoming version 0.7.0.
source share