Report abuse

class foo {
        notify{"foo": }
}

class foo::bar inherits foo {
        Notify["foo"] {
                message => "foo::bar"
        }
}

include foo::bar

output

notice: //foo/Notify[foo]/message: defined 'message' as 'foo::bar'