class Lutaml::Toml::Adapter::Mapping

def dup_instance

def dup_instance
  self.class.new
end

def initialize

def initialize
  super(:toml)
end

def validate!(key, to, with, render_nil, render_empty)

def validate!(key, to, with, render_nil, render_empty)
  super
  if [true, :as_nil].include?(render_nil) || render_empty == :as_nil
    raise Lutaml::Model::IncorrectMappingArgumentsError,
          "nil values are not supported in toml format"
  end
end