Class: YARD::Server::Commands::LibraryOptions
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
YARD::CLI::YardocOptions
|
Defined in: | lib/yard/server/commands/library_command.rb |
Overview
Class Method Summary
::YARD::Options
- Inherited
.default_attr | Defines an attribute named |
Instance Attribute Summary
::YARD::CLI::YardocOptions
- Inherited
::YARD::Templates::TemplateOptions
- Inherited
Instance Method Summary
::YARD::CLI::YardocOptions
- Inherited
::YARD::Templates::TemplateOptions
- Inherited
::YARD::Options
- Inherited
#==, | |
#[] | Delegates calls with |
#[]= | Delegates setter calls with |
#delete | Deletes an option value for |
#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 |
#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
#command (rw)
# File 'lib/yard/server/commands/library_command.rb', line 14
attr_accessor :command
#frames (rw)
# File 'lib/yard/server/commands/library_command.rb', line 15
attr_accessor :frames
Instance Method Details
#adapter
# File 'lib/yard/server/commands/library_command.rb', line 8
def adapter; @command.adapter end
#each {|:adapter, adapter| ... }
# File 'lib/yard/server/commands/library_command.rb', line 17
def each(&block) super(&block) yield(:adapter, adapter) yield(:library, library) yield(:single_library, single_library) yield(:serializer, serializer) end
#library
# File 'lib/yard/server/commands/library_command.rb', line 9
def library; @command.library end
#serialize
# File 'lib/yard/server/commands/library_command.rb', line 12
def serialize; false end
#serializer
# File 'lib/yard/server/commands/library_command.rb', line 11
def serializer; @command.serializer end
#single_library
# File 'lib/yard/server/commands/library_command.rb', line 10
def single_library; @command.single_library end