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.



959
960
961
962
# File 'lib/chordsketch_uniffi.rb', line 959

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

Instance Attribute Details

#outputObject (readonly)

Returns the value of attribute output.



957
958
959
# File 'lib/chordsketch_uniffi.rb', line 957

def output
  @output
end

#warningsObject (readonly)

Returns the value of attribute warnings.



957
958
959
# File 'lib/chordsketch_uniffi.rb', line 957

def warnings
  @warnings
end

Instance Method Details

#==(other) ⇒ Object



964
965
966
967
968
969
970
971
972
973
# File 'lib/chordsketch_uniffi.rb', line 964

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

  true
end