Exception: CSVReader::InvalidHeaderException

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/csv_reader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ InvalidHeaderException

Returns a new instance of InvalidHeaderException.



83
84
85
# File 'lib/csv_reader.rb', line 83

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



81
82
83
# File 'lib/csv_reader.rb', line 81

def message
  @message
end