Class: InferModel::From::CSV

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer, Callable
Defined in:
lib/infer_model/from/csv.rb

Constant Summary collapse

DEFAULT_CSV_OPTIONS =
{ col_sep: ",", encoding: "utf-8", headers: true, quote_char: "\x00" }.freeze

Instance Method Summary collapse

Instance Method Details

#callObject



19
20
21
# File 'lib/infer_model/from/csv.rb', line 19

def call
  ::InferModel::Model.new(source_name:, attributes:)
end