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.
938 939 940 941 |
# File 'lib/chordsketch_uniffi.rb', line 938 def initialize(output:, warnings:) @output = output @warnings = warnings end |
Instance Attribute Details
#output ⇒ Object (readonly)
Returns the value of attribute output.
936 937 938 |
# File 'lib/chordsketch_uniffi.rb', line 936 def output @output end |
#warnings ⇒ Object (readonly)
Returns the value of attribute warnings.
936 937 938 |
# File 'lib/chordsketch_uniffi.rb', line 936 def warnings @warnings end |
Instance Method Details
#==(other) ⇒ Object
943 944 945 946 947 948 949 950 951 952 |
# File 'lib/chordsketch_uniffi.rb', line 943 def ==(other) if @output != other.output return false end if @warnings != other.warnings return false end true end |