Method: YARD::CLI::Display#output_options

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

#output_options(opts) ⇒ Object

Since:

  • 0.8.6



61
62
63
64
65
66
# File 'lib/yard/cli/display.rb', line 61

def output_options(opts)
  super(opts)
  opts.on('-l', '--layout [LAYOUT]', 'Wraps output in layout template (good for HTML)') do |layout|
    @layout = layout || 'layout'
  end
end