class Dry::Logic::Rule
def initialize(predicate, options = DEFAULT_OPTIONS)
def initialize(predicate, options = DEFAULT_OPTIONS) @predicate = predicate @options = options @args = options[:args] @arity = options[:arity] || predicate.arity end
def initialize(predicate, options = DEFAULT_OPTIONS) @predicate = predicate @options = options @args = options[:args] @arity = options[:arity] || predicate.arity end