Class: Hecks::Translation::Audit::Verdict

Inherits:
Struct
  • Object
show all
Defined in:
lib/hecks/translation/audit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#droppedObject

Returns the value of attribute dropped

Returns:

  • (Object)

    the current value of dropped



18
19
20
# File 'lib/hecks/translation/audit.rb', line 18

def dropped
  @dropped
end

#samplesObject

Returns the value of attribute samples

Returns:

  • (Object)

    the current value of samples



18
19
20
# File 'lib/hecks/translation/audit.rb', line 18

def samples
  @samples
end

#unfedObject

Returns the value of attribute unfed

Returns:

  • (Object)

    the current value of unfed



18
19
20
# File 'lib/hecks/translation/audit.rb', line 18

def unfed
  @unfed
end

#violationsObject

Returns the value of attribute violations

Returns:

  • (Object)

    the current value of violations



18
19
20
# File 'lib/hecks/translation/audit.rb', line 18

def violations
  @violations
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


19
# File 'lib/hecks/translation/audit.rb', line 19

def ok? = violations.empty?