RubyGems.org

protocol

0.8.0

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.

installgem install protocol -v 0.8.0
Authors

Florian Frank

3,795 total downloads 887 for this version
Owners

1442d84cb806bf6e49709e75ae58ce63

Gemfile
gem "protocol", "~> 0.8.0"
Versions
  1. 0.9.0 August 11, 2009
  2. 0.8.2 July 27, 2009
  3. 0.8.1 December 16, 2008
  4. 0.8.0 November 27, 2007
Runtime Dependencies
  1. ParseTree >= 2.0.2