Class: Chordsketch::ValidationError
- Inherits:
-
Object
- Object
- Chordsketch::ValidationError
- Defined in:
- lib/chordsketch_uniffi.rb
Overview
Record type ValidationError
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(line:, column:, message:) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(line:, column:, message:) ⇒ ValidationError
Returns a new instance of ValidationError.
1001 1002 1003 1004 1005 |
# File 'lib/chordsketch_uniffi.rb', line 1001 def initialize(line:, column:, message:) @line = line @column = column @message = end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
999 1000 1001 |
# File 'lib/chordsketch_uniffi.rb', line 999 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
999 1000 1001 |
# File 'lib/chordsketch_uniffi.rb', line 999 def line @line end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
999 1000 1001 |
# File 'lib/chordsketch_uniffi.rb', line 999 def @message end |
Instance Method Details
#==(other) ⇒ Object
1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 |
# File 'lib/chordsketch_uniffi.rb', line 1007 def ==(other) if @line != other.line return false end if @column != other.column return false end if @message != other. return false end true end |