Class: Csvlint::ErrorMessage
- Inherits:
-
Object
- Object
- Csvlint::ErrorMessage
- Defined in:
- lib/csvlint/error_message.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
readonly
Returns the value of attribute category.
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#constraints ⇒ Object
readonly
Returns the value of attribute constraints.
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#row ⇒ Object
readonly
Returns the value of attribute row.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, category, row, column, content, constraints) ⇒ ErrorMessage
constructor
A new instance of ErrorMessage.
Constructor Details
#initialize(type, category, row, column, content, constraints) ⇒ ErrorMessage
Returns a new instance of ErrorMessage.
5 6 7 8 9 10 11 12 |
# File 'lib/csvlint/error_message.rb', line 5 def initialize(type, category, row, column, content, constraints) @type = type @category = category @row = row @column = column @content = content @constraints = constraints end |
Instance Attribute Details
#category ⇒ Object (readonly)
Returns the value of attribute category.
3 4 5 |
# File 'lib/csvlint/error_message.rb', line 3 def category @category end |
#column ⇒ Object (readonly)
Returns the value of attribute column.
3 4 5 |
# File 'lib/csvlint/error_message.rb', line 3 def column @column end |
#constraints ⇒ Object (readonly)
Returns the value of attribute constraints.
3 4 5 |
# File 'lib/csvlint/error_message.rb', line 3 def constraints @constraints end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
3 4 5 |
# File 'lib/csvlint/error_message.rb', line 3 def content @content end |
#row ⇒ Object (readonly)
Returns the value of attribute row.
3 4 5 |
# File 'lib/csvlint/error_message.rb', line 3 def row @row end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
3 4 5 |
# File 'lib/csvlint/error_message.rb', line 3 def type @type end |