Method: YARD::CLI::Display#run

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

#run(*args) ⇒ void

This method returns an undefined value.

Runs the commandline utility, parsing arguments and displaying an object from the Registry.

Parameters:

Since:

  • 0.8.6



21
22
23
24
# File 'lib/yard/cli/display.rb', line 21

def run(*args)
  return unless parse_arguments(*args)
  log.puts wrap_layout(format_objects)
end