Method: HexaPDF::PDFArray#delete

Defined in:
lib/hexapdf/pdf_array.rb

#delete(object) ⇒ Object

Deletes all values from the PDFArray that are equal to the given object.

Returns the last deleted item, or nil if no matching item is found.


122
123
124
# File 'lib/hexapdf/pdf_array.rb', line 122

def delete(object)
  value.delete(object)
end