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.
860 861 862 863 864 |
# File 'lib/chordsketch_uniffi.rb', line 860 def initialize(line:, column:, message:) @line = line @column = column @message = end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
858 859 860 |
# File 'lib/chordsketch_uniffi.rb', line 858 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
858 859 860 |
# File 'lib/chordsketch_uniffi.rb', line 858 def line @line end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
858 859 860 |
# File 'lib/chordsketch_uniffi.rb', line 858 def @message end |
Instance Method Details
#==(other) ⇒ Object
866 867 868 869 870 871 872 873 874 875 876 877 878 |
# File 'lib/chordsketch_uniffi.rb', line 866 def ==(other) if @line != other.line return false end if @column != other.column return false end if @message != other. return false end true end |