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.



1069
1070
1071
1072
# File 'lib/chordsketch_uniffi.rb', line 1069

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

Instance Attribute Details

#outputObject (readonly)

Returns the value of attribute output.



1067
1068
1069
# File 'lib/chordsketch_uniffi.rb', line 1067

def output
  @output
end

#warningsObject (readonly)

Returns the value of attribute warnings.



1067
1068
1069
# File 'lib/chordsketch_uniffi.rb', line 1067

def warnings
  @warnings
end

Instance Method Details

#==(other) ⇒ Object



1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
# File 'lib/chordsketch_uniffi.rb', line 1074

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

  true
end