Class: Opencdd::Validator::ValidationError
- Inherits:
-
Struct
- Object
- Struct
- Opencdd::Validator::ValidationError
- Defined in:
- lib/opencdd/validator.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#message ⇒ Object
Returns the value of attribute message.
-
#row ⇒ Object
Returns the value of attribute row.
-
#rule ⇒ Object
Returns the value of attribute rule.
-
#sheet ⇒ Object
Returns the value of attribute sheet.
Instance Method Summary collapse
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
5 6 7 |
# File 'lib/opencdd/validator.rb', line 5 def column @column end |
#message ⇒ Object
Returns the value of attribute message
5 6 7 |
# File 'lib/opencdd/validator.rb', line 5 def @message end |
#row ⇒ Object
Returns the value of attribute row
5 6 7 |
# File 'lib/opencdd/validator.rb', line 5 def row @row end |
#rule ⇒ Object
Returns the value of attribute rule
5 6 7 |
# File 'lib/opencdd/validator.rb', line 5 def rule @rule end |
#sheet ⇒ Object
Returns the value of attribute sheet
5 6 7 |
# File 'lib/opencdd/validator.rb', line 5 def sheet @sheet end |
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/opencdd/validator.rb', line 6 def to_s "#{sheet} row=#{row} col=#{column} [#{rule}]: #{}" end |