Class: Chordsketch::TextRenderWithWarnings

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

Overview

Record type TextRenderWithWarnings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output:, warnings:) ⇒ TextRenderWithWarnings

Returns a new instance of TextRenderWithWarnings.



1090
1091
1092
1093
# File 'lib/chordsketch_uniffi.rb', line 1090

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

Instance Attribute Details

#outputObject (readonly)

Returns the value of attribute output.



1088
1089
1090
# File 'lib/chordsketch_uniffi.rb', line 1088

def output
  @output
end

#warningsObject (readonly)

Returns the value of attribute warnings.



1088
1089
1090
# File 'lib/chordsketch_uniffi.rb', line 1088

def warnings
  @warnings
end

Instance Method Details

#==(other) ⇒ Object



1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
# File 'lib/chordsketch_uniffi.rb', line 1095

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

  true
end