Module: InferModel::Parsers

Defined in:
lib/infer_model/parsers.rb

Defined Under Namespace

Classes: Boolean, DateTime, Decimal, Integer, JSON, Time, UUID

Constant Summary collapse

Error =
Class.new(StandardError)
BY_TYPE =
{
  boolean: Boolean,
  datetime: DateTime,
  decimal: Decimal,
  integer: Integer,
  json: JSON,
  time: Time,
  uuid: UUID,
  string: ->(*args, **_opts) { args[0] },
}.freeze