### ----------------------------------------------------
### -- FINALIZER
### -- Licenses: Artistic-2.0
### -- Authors: Elizabeth Mattijsen
### -- File: t/lib/Frobnicate-Role.rakumod
### ----------------------------------------------------
use FINALIZER <role-only>;

class Frobnicate-Role is Finalizable {
    has &.code;

    method FINALIZE {
        &!code()
    }
}

sub dbiconnect(&code) is export { Frobnicate-Role.new( :&code ) }

# vim: expandtab shiftwidth=4


