Exception: Csvtool::Infrastructure::CSV::CsvSplitter::OutputFileExistsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/csvtool/infrastructure/csv/csv_splitter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ OutputFileExistsError

Returns a new instance of OutputFileExistsError.



12
13
14
15
# File 'lib/csvtool/infrastructure/csv/csv_splitter.rb', line 12

def initialize(path)
  super("output file exists: #{path}")
  @path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



10
11
12
# File 'lib/csvtool/infrastructure/csv/csv_splitter.rb', line 10

def path
  @path
end