RubyGems.org

protocol

0.8.2

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.2
Authors

Florian Frank

6,961 total downloads 1,301 for this version
Owners

1442d84cb806bf6e49709e75ae58ce63

Gemfile
gem 'protocol', '~> 0.8.2'
Versions
  1. 1.0.1 July 19, 2013 (28.5 KB)
  2. 1.0.0 July 18, 2013 (28.5 KB)
  3. 0.9.0 August 11, 2009 (27.5 KB)
  4. 0.8.2 July 27, 2009 (25.5 KB)
  5. 0.8.1 December 16, 2008 (25 KB)
Show all versions (6 total)
Runtime Dependencies
  1. ParseTree ~> 3.0