class Dry::Schema::PredicateInferrer::Compiler
def infer_predicate(type)
- Api: - private
def infer_predicate(type) TYPE_TO_PREDICATE.fetch(type) { :"#{type.name.split('::').last.downcase}?" } end
def infer_predicate(type) TYPE_TO_PREDICATE.fetch(type) { :"#{type.name.split('::').last.downcase}?" } end