Method: YARD::Server::LibraryVersion#source
- Defined in:
- lib/yard/server/library_version.rb
#source ⇒ Symbol
Returns the source type representing where the yardoc should be loaded from. Defaults are :disk
and :gem
, though custom sources may be implemented. This value is used to inform #prepare! about how to load the necessary data in order to display documentation for an object.
116 117 118 |
# File 'lib/yard/server/library_version.rb', line 116 def source @source end |