Class: C2paXmpProbe::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/c2pa_xmp_probe.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#has_ai_hintObject

Returns the value of attribute has_ai_hint

Returns:

  • (Object)

    the current value of has_ai_hint



26
27
28
# File 'lib/c2pa_xmp_probe.rb', line 26

def has_ai_hint
  @has_ai_hint
end

#has_c2paObject

Returns the value of attribute has_c2pa

Returns:

  • (Object)

    the current value of has_c2pa



26
27
28
# File 'lib/c2pa_xmp_probe.rb', line 26

def has_c2pa
  @has_c2pa
end

#has_xmpObject

Returns the value of attribute has_xmp

Returns:

  • (Object)

    the current value of has_xmp



26
27
28
# File 'lib/c2pa_xmp_probe.rb', line 26

def has_xmp
  @has_xmp
end

#matchedObject

Returns the value of attribute matched

Returns:

  • (Object)

    the current value of matched



26
27
28
# File 'lib/c2pa_xmp_probe.rb', line 26

def matched
  @matched
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



26
27
28
# File 'lib/c2pa_xmp_probe.rb', line 26

def path
  @path
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



26
27
28
# File 'lib/c2pa_xmp_probe.rb', line 26

def size
  @size
end

Instance Method Details

#flagged?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/c2pa_xmp_probe.rb', line 30

def flagged?
  has_c2pa || has_xmp || has_ai_hint
end