Class: YARD::Server::Commands::LibraryOptions

Inherits:
CLI::YardocOptions show all
Defined in:
lib/yard/server/commands/library_command.rb

Overview

Since:

  • 0.6.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Dynamic Method Handling

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

Instance Attribute Details

#commandObject

Since:

  • 0.6.0


13
14
15
# File 'lib/yard/server/commands/library_command.rb', line 13

def command
  @command
end

#framesObject

Since:

  • 0.6.0


14
15
16
# File 'lib/yard/server/commands/library_command.rb', line 14

def frames
  @frames
end

#serializeObject


11
# File 'lib/yard/server/commands/library_command.rb', line 11

default_attr :serialize, false

Instance Method Details

#adapterObject

Since:

  • 0.6.0


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

def adapter; @command.adapter end

#each {|:adapter, adapter| ... } ⇒ Object

Yields:

Since:

  • 0.6.0


16
17
18
19
20
21
22
# File 'lib/yard/server/commands/library_command.rb', line 16

def each(&block)
  super(&block)
  yield(:adapter, adapter)
  yield(:library, library)
  yield(:single_library, single_library)
  yield(:serializer, serializer)
end

#libraryObject

Since:

  • 0.6.0


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

def library; @command.library end

#serializerObject

Since:

  • 0.6.0


10
# File 'lib/yard/server/commands/library_command.rb', line 10

def serializer; @command.serializer end

#single_libraryObject

Since:

  • 0.6.0


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

def single_library; @command.single_library end