class Dry::Logic::Rule::Key

def self.new(name, predicate)

def self.new(name, predicate)
  super(name, predicate.curry(name))
end

def call(input)

def call(input)
  Logic.Result(input[name], predicate.(input), self)
end

def type

def type
  :key
end