Class: Chordsketch::TextRenderWithWarnings
- Inherits:
-
Object
- Object
- Chordsketch::TextRenderWithWarnings
- Defined in:
- lib/chordsketch_uniffi.rb
Overview
Record type TextRenderWithWarnings
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:) ⇒ TextRenderWithWarnings
constructor
A new instance of TextRenderWithWarnings.
Constructor Details
#initialize(output:, warnings:) ⇒ TextRenderWithWarnings
Returns a new instance of TextRenderWithWarnings.
980 981 982 983 |
# File 'lib/chordsketch_uniffi.rb', line 980 def initialize(output:, warnings:) @output = output @warnings = warnings end |
Instance Attribute Details
#output ⇒ Object (readonly)
Returns the value of attribute output.
978 979 980 |
# File 'lib/chordsketch_uniffi.rb', line 978 def output @output end |
#warnings ⇒ Object (readonly)
Returns the value of attribute warnings.
978 979 980 |
# File 'lib/chordsketch_uniffi.rb', line 978 def warnings @warnings end |
Instance Method Details
#==(other) ⇒ Object
985 986 987 988 989 990 991 992 993 994 |
# File 'lib/chordsketch_uniffi.rb', line 985 def ==(other) if @output != other.output return false end if @warnings != other.warnings return false end true end |