Sha256: 19f830d5327ceaf2ba1767b3a27feeedafcd0e8a0f82c0e6adaa08f282c58daa
Contents?: true
Size: 702 Bytes
Versions: 3
Compression:
Stored size: 702 Bytes
Contents
module YARD module Server module Commands class LibraryIndexOptions < CLI::YardocOptions attr_accessor :adapter, :libraries default_attr :template, :doc_server default_attr :type, :library_list default_attr :serialize, false end # Returns the index of libraries served by the server. class LibraryIndexCommand < Base attr_accessor :options def run return unless path.empty? self.options = LibraryIndexOptions.new self.options.adapter = adapter self.options.libraries = adapter.libraries self.options.reset_defaults render end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yard-0.9.5 | lib/yard/server/commands/library_index_command.rb |
yard-0.9.4 | lib/yard/server/commands/library_index_command.rb |
yard-0.9.3 | lib/yard/server/commands/library_index_command.rb |