Sha256: a43dbce2c35877d0c24014c8bb411ac0745746526e4fbee8f0050b6f64e3cc40

Contents?: true

Size: 524 Bytes

Versions: 2

Compression:

Stored size: 524 Bytes

Contents

module YARD
  module Server
    module Commands
      class LibraryIndexCommand < Base
        attr_accessor :options
        
        def run
          return unless path.empty?
          
          self.options = SymbolHash.new(false).update(
            :markup => :rdoc,
            :format => :html,
            :libraries => adapter.libraries,
            :adapter => adapter,
            :template => :doc_server,
            :type => :library_list
          )
          render
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yard-0.6.1 lib/yard/server/commands/library_index_command.rb
yard-0.6.0 lib/yard/server/commands/library_index_command.rb