class Mustermann::Caster::Any

@!visibility private
Class for block based casts that are triggered for every key/value pair.

def cast(key, value)

Other tags:
    See: Mustermann::Caster#cast -
def cast(key, value)
  case @block.arity
  when 0 then @block.call
  when 1 then @block.call(value)
  else        @block.call(key, value)
  end
end

def initialize(&block)

@!visibility private
def initialize(&block)
  @block = block
end