### ----------------------------------------------------
### -- OO::Plugin
### -- Licenses: Artistic-2.0
### -- Authors: Vadim Belman <vrurg@cpan.org>
### -- File: t/lib/Foo/Plugin/Plug2.rakumod
### ----------------------------------------------------
use v6;
use OO::Plugin;
unit module Foo::Plugin::Plug2;

plugin Plug2:ver<0.2.2> after Plug1 {
    # plug-meta
    #     name => 'Plug2',
    #     ;

    method my-handler ($,|) is plug-after( 'Int' => 'repeat' ) {
        note "C'mon!";
    }

    method type-handler ($,|) is plug-before{ class => Int, method => 'repeat' } {
        note "C'mon!";
    }
}


