Method: YARD::Server::LibraryVersion#source

Defined in:
lib/yard/server/library_version.rb

#sourceSymbol

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.

Returns:

  • (Symbol)

    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.

See Also:

Since:

  • 0.6.0



116
117
118
# File 'lib/yard/server/library_version.rb', line 116

def source
  @source
end