Command
A local documentation server @since 0.6.0
# File lib/yard/cli/server.rb, line 26 def description "Runs a local documentation server" end
# File lib/yard/cli/server.rb, line 30 def run(*args) self.scripts = [] self.template_paths = [] self.libraries = {} self.options = SymbolHash.new(false).update( :single_library => true, :caching => false ) self.server_options = {:Port => 8808} optparse(*args) select_adapter.setup load_scripts load_template_paths adapter.new(libraries, options, server_options).start end
Generated with the Darkfish Rdoc Generator 2.