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. Additionaly you can define preconditions/postconditions for methods specified in a protocol.
Required Ruby Version
>= 0
Authors
Florian Frank
Versions
- 2.0.1 July 14, 2024 (28.5 KB)
- 2.0.0 November 05, 2019 (28.5 KB)
- 1.0.1 July 19, 2013 (28.5 KB)
- 1.0.0 July 18, 2013 (28.5 KB)
- 0.9.0 August 18, 2009 (27.5 KB)