Class: Vizcore::CLISupport::Doctor::Report

Inherits:
Struct
  • Object
show all
Defined in:
lib/vizcore/cli/doctor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#checksObject

Returns the value of attribute checks

Returns:

  • (Object)

    the current value of checks



24
25
26
# File 'lib/vizcore/cli/doctor.rb', line 24

def checks
  @checks
end

Instance Method Details

#failure?Boolean

Returns:

  • (Boolean)


25
26
27
# File 'lib/vizcore/cli/doctor.rb', line 25

def failure?
  checks.any?(&:failure?)
end