class Plumb::Schema
def setup(&block)
def setup(&block) lock.arity d self ance_eval(&block) e ::ArgumentError, "#{self.class} expects a block with 0 or 1 argument, but got #{block.arity}" = Types::Hash.schema(@fields.transform_values(&:_type))
def setup(&block) lock.arity d self ance_eval(&block) e ::ArgumentError, "#{self.class} expects a block with 0 or 1 argument, but got #{block.arity}" = Types::Hash.schema(@fields.transform_values(&:_type))