123456789_123456789_123456789_123456789_123456789_

Class: YARD::Server::Commands::LibraryIndexOptions

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: YARD::CLI::YardocOptions
Defined in: lib/yard/server/commands/library_index_command.rb

Overview

Since:

  • 0.6.0

Class Method Summary

::YARD::Options - Inherited

.default_attr

Defines an attribute named key and sets a default value for it.

Instance Attribute Summary

Instance Method Summary

::YARD::CLI::YardocOptions - Inherited

::YARD::Templates::TemplateOptions - Inherited

::YARD::Options - Inherited

#==,
#[]

Delegates calls with ::Hash syntax to actual method with key name.

#[]=

Delegates setter calls with ::Hash syntax to the attribute setter with the key name.

#delete

Deletes an option value for key.

#each

Yields over every option key and value.

#inspect

Inspects the object.

#merge

Creates a new options object and sets options hash or object value onto that object.

#method_missing

Handles setting and accessing of unregistered keys similar to an OpenStruct object.

#reset_defaults

Resets all values to their defaults.

#tap

only for 1.8.6.

#to_hash,
#update

Updates values from an options hash or options object on this object.

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class YARD::Options

Instance Attribute Details

#adapter (rw)

Since:

  • 0.6.0

[ GitHub ]

  
# File 'lib/yard/server/commands/library_index_command.rb', line 6

attr_accessor :adapter, :libraries

#libraries (rw)

Since:

  • 0.6.0

[ GitHub ]

  
# File 'lib/yard/server/commands/library_index_command.rb', line 6

attr_accessor :adapter, :libraries

#serialize (rw)

[ GitHub ]

  
# File 'lib/yard/server/commands/library_index_command.rb', line 9

default_attr :serialize, false

#template (rw)

[ GitHub ]

  
# File 'lib/yard/server/commands/library_index_command.rb', line 7

default_attr :template, :doc_server

#type (rw)

[ GitHub ]

  
# File 'lib/yard/server/commands/library_index_command.rb', line 8

default_attr :type, :library_list