opnsense-ports/devel/rubygem-protocol/pkg-descr
Franco Fichtner 6f95ba715d */*: sync with upstream
Taken from: FreeBSD
2024-07-17 10:06:02 +02:00

5 lines
343 B
Text

This library offers an implementation of protocols against which you can check
the conformity of your classes or instances of your classes. They are a bit like
Java Interfaces, but as mixin modules they can also contain already implemented
methods. Additionally you can define preconditions/postconditions for methods
specified in a protocol.