Method: AsposePdfCloud::TextLine#==

Defined in:
lib/aspose_pdf_cloud/models/text_line.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



85
86
87
88
89
90
# File 'lib/aspose_pdf_cloud/models/text_line.rb', line 85

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      horizontal_alignment == o.horizontal_alignment &&
      segments == o.segments
end