Class: Chordsketch::ConversionWithWarnings

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

Overview

Record type ConversionWithWarnings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(output:, warnings:) ⇒ ConversionWithWarnings

Returns a new instance of ConversionWithWarnings.



1048
1049
1050
1051
# File 'lib/chordsketch_uniffi.rb', line 1048

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

Instance Attribute Details

#outputObject (readonly)

Returns the value of attribute output.



1046
1047
1048
# File 'lib/chordsketch_uniffi.rb', line 1046

def output
  @output
end

#warningsObject (readonly)

Returns the value of attribute warnings.



1046
1047
1048
# File 'lib/chordsketch_uniffi.rb', line 1046

def warnings
  @warnings
end

Instance Method Details

#==(other) ⇒ Object



1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
# File 'lib/chordsketch_uniffi.rb', line 1053

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

  true
end