Method: PDF::Core::Reference#replace

Defined in:
lib/pdf/core/reference.rb

#replace(other_ref) ⇒ Object

Replaces the data and stream with that of other_ref.



67
68
69
70
# File 'lib/pdf/core/reference.rb', line 67

def replace(other_ref)
  @data   = other_ref.data
  @stream = other_ref.stream
end