Class: YARD::Server::Commands::ListFilesCommand

Inherits:
ListCommand show all
Defined in:
lib/yard/server/commands/list_command.rb

Overview

Returns the list of README/extra files in a library

Since:

  • 0.6.0

Instance Attribute Summary

Attributes included from Templates::Helpers::BaseHelper

#object, #serializer

Attributes inherited from LibraryCommand

#incremental, #library, #options, #serializer, #single_library

Attributes inherited from Base

#adapter, #body, #caching, #command_options, #headers, #path, #request, #status

Instance Method Summary collapse

Methods inherited from ListCommand

#run

Methods included from Templates::Helpers::BaseHelper

#format_object_title, #format_object_type, #format_source, #format_types, #globals, #h, #link_file, #link_include_file, #link_include_object, #link_object, #link_url, #linkify, #run_verifier

Methods inherited from LibraryCommand

#call, #initialize

Methods inherited from Base

#cache, #call, #initialize, #not_found, #redirect, #render, #run

Constructor Details

This class inherits a constructor from YARD::Server::Commands::LibraryCommand

Instance Method Details

#itemsObject

Since:

  • 0.6.0



44
# File 'lib/yard/server/commands/list_command.rb', line 44

def items; options[:files] end

#typeObject

Since:

  • 0.6.0



43
# File 'lib/yard/server/commands/list_command.rb', line 43

def type; :files end