Class: Chordsketch::ChordDefine
- Inherits:
-
Object
- Object
- Chordsketch::ChordDefine
- Defined in:
- lib/chordsketch_uniffi.rb
Overview
Record type ChordDefine
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name:, raw:) ⇒ ChordDefine
constructor
A new instance of ChordDefine.
Constructor Details
#initialize(name:, raw:) ⇒ ChordDefine
Returns a new instance of ChordDefine.
1027 1028 1029 1030 |
# File 'lib/chordsketch_uniffi.rb', line 1027 def initialize(name:, raw:) @name = name @raw = raw end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
1025 1026 1027 |
# File 'lib/chordsketch_uniffi.rb', line 1025 def name @name end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
1025 1026 1027 |
# File 'lib/chordsketch_uniffi.rb', line 1025 def raw @raw end |
Instance Method Details
#==(other) ⇒ Object
1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 |
# File 'lib/chordsketch_uniffi.rb', line 1032 def ==(other) if @name != other.name return false end if @raw != other.raw return false end true end |