Class: Chordsketch::ConversionWithWarnings
- Inherits:
-
Object
- Object
- Chordsketch::ConversionWithWarnings
- Defined in:
- lib/chordsketch_uniffi.rb
Overview
Record type ConversionWithWarnings
Instance Attribute Summary collapse
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#warnings ⇒ Object
readonly
Returns the value of attribute warnings.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(output:, warnings:) ⇒ ConversionWithWarnings
constructor
A new instance of ConversionWithWarnings.
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
#output ⇒ Object (readonly)
Returns the value of attribute output.
1046 1047 1048 |
# File 'lib/chordsketch_uniffi.rb', line 1046 def output @output end |
#warnings ⇒ Object (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 |