Module: CsvPirate

Defined in:
lib/csv_pirate.rb,
lib/csv_pirate/railtie.rb,
lib/csv_pirate/version.rb,
lib/csv_pirate/the_capn.rb,
lib/csv_pirate/pirate_ship.rb

Defined Under Namespace

Modules: PirateShip Classes: Railtie, TheCapn

Constant Summary

VERSION =
"5.0.9"
VERSION_ARRAY =
VERSION.split('.')
MAJOR =
VERSION_ARRAY[0].to_i
MINOR =
VERSION_ARRAY[1].to_i
PATCH =
VERSION_ARRAY[2].to_i
BUILD =
VERSION_ARRAY[3]

Class Method Summary (collapse)

Class Method Details

+ (Object) create(*args)



43
44
45
46
# File 'lib/csv_pirate.rb', line 43

def self.create(*args)
  warn "[DEPRECATION] \"CsvPirate.create\" is deprecated.  Use \"CsvPirate::TheCapn.create\" instead.  Called from: #{caller.first}"
  CsvPirate::TheCapn.create(*args)
end

+ (Object) new(*args)

Support the old (< v5.0.0) API



38
39
40
41
# File 'lib/csv_pirate.rb', line 38

def self.new(*args)
  warn "[DEPRECATION] \"CsvPirate.new\" is deprecated.  Use \"CsvPirate::TheCapn.new\" instead.  Called from: #{caller.first}"
  CsvPirate::TheCapn.new(*args)
end