Method: YARD::CLI::Server#initialize

Defined in:
lib/yard/cli/server.rb

#initializeServer

Creates a new instance of the Server command line utility

Since:

  • 0.6.0


27
28
29
30
31
32
33
34
35
36
37
# File 'lib/yard/cli/server.rb', line 27

def initialize
  super
  self.scripts = []
  self.template_paths = []
  self.libraries = {}
  self.options = SymbolHash.new(false).update(
    :single_library => true,
    :caching => false
  )
  self.server_options = {:Port => 8808}
end