Module: Rtfd::Yard

Defined in:
lib/rtfd/yard.rb

Class Method Summary collapse

Class Method Details

.librariesObject



3
4
5
6
7
8
9
10
# File 'lib/rtfd/yard.rb', line 3

def self.libraries
  libraries = {}
  Rtfd.repos.each do |repo|
    name = repo[0]
    libraries[name] = [YARD::Server::LibraryVersion.new(name, nil, "#{Rtfd.repos_path}/#{name}/.yardoc")]
  end
  libraries
end

.optionsObject



12
13
14
# File 'lib/rtfd/yard.rb', line 12

def self.options
  {incremental:true}
end