Basics
Basic use via mixin
Overview
Instructor provides HandlesSelfInference
trait that you can use to enable
extraction capabilities directly on class via static infer()
method.
infer()
method returns an instance of the class with the data extracted
using the Instructor.
infer()
method has following signature (you can also find it in the
CanSelfInfer
interface):