Class: Chordsketch::PdfRenderWithWarnings

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

Overview

Record type PdfRenderWithWarnings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output:, warnings:) ⇒ PdfRenderWithWarnings

Returns a new instance of PdfRenderWithWarnings.



818
819
820
821
# File 'lib/chordsketch_uniffi.rb', line 818

def initialize(output:, warnings:)
  @output = output
  @warnings = warnings
end

Instance Attribute Details

#outputObject (readonly)

Returns the value of attribute output.



816
817
818
# File 'lib/chordsketch_uniffi.rb', line 816

def output
  @output
end

#warningsObject (readonly)

Returns the value of attribute warnings.



816
817
818
# File 'lib/chordsketch_uniffi.rb', line 816

def warnings
  @warnings
end

Instance Method Details

#==(other) ⇒ Object



823
824
825
826
827
828
829
830
831
832
# File 'lib/chordsketch_uniffi.rb', line 823

def ==(other)
  if @output != other.output
    return false
  end
  if @warnings != other.warnings
    return false
  end

  true
end