Method: YARD::CLI::Yardoc#fail_on_warning

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

#fail_on_warningBoolean

Returns whether yard exits with error status code if a warning occurs.

Returns:

  • (Boolean)

    whether yard exits with error status code if a warning occurs

Since:

  • 0.2.1



204
205
206
# File 'lib/yard/cli/yardoc.rb', line 204

def fail_on_warning
  @fail_on_warning
end