lib/csv2hash/adapters/base.rb in csv2hash-0.5.0 vs lib/csv2hash/adapters/base.rb in csv2hash-0.6.0
- old
+ new
@@ -3,10 +3,9 @@
class Base
class UnsupportedAdapter < StandardError ; end
def self.create adapter_name, file_path_or_data
- # binding.pry
load "csv2hash/adapters/#{adapter_name}_adapter.rb"
class_eval("Csv2hash::Adapter::#{klass_adapter(adapter_name)}").new file_path_or_data
end
private