RubyGems Navigation menu

protocol 0.8.1

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.

Gemfile
          gem 'protocol', '~> 0.8.1'
  
  
  
  
  
  
  

install
          gem install protocol -v 0.8.1
  
  
  
  
  
  
  

Authors:

  • Florian Frank

Owners:

Total downloads 7,091

For this version 1,338

Show all versions (6 total)

Required Ruby Version: None

Links:

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: