Class: Pdfrb::Conformance::VeraPdfBridge::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/pdfrb/conformance/verapdf_bridge.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#availableObject

Returns the value of attribute available

Returns:

  • (Object)

    the current value of available



19
20
21
# File 'lib/pdfrb/conformance/verapdf_bridge.rb', line 19

def available
  @available
end

#passedObject

Returns the value of attribute passed

Returns:

  • (Object)

    the current value of passed



19
20
21
# File 'lib/pdfrb/conformance/verapdf_bridge.rb', line 19

def passed
  @passed
end

#raw_outputObject

Returns the value of attribute raw_output

Returns:

  • (Object)

    the current value of raw_output



19
20
21
# File 'lib/pdfrb/conformance/verapdf_bridge.rb', line 19

def raw_output
  @raw_output
end

#violationsObject

Returns the value of attribute violations

Returns:

  • (Object)

    the current value of violations



19
20
21
# File 'lib/pdfrb/conformance/verapdf_bridge.rb', line 19

def violations
  @violations
end

Instance Method Details

#passed?Boolean

Returns:

  • (Boolean)


21
22
23
# File 'lib/pdfrb/conformance/verapdf_bridge.rb', line 21

def passed?
  available && self[:passed]
end