RubyGems Navigation menu

contractual 0.0.2

This gem provides limited support for the utilization of interfaces in Ruby. The approach here is nearly idetnical to one suggested by Mark Bates at http://metabates.com/2011/02/07/building-interfaces-and-abstract-classes-in-ruby/. It didn't seem like this had been turned into a gem yet, so I thought I might go ahead and put it together in case others found the technique as helpful as I had.

Gemfile
          gem 'contractual', '~> 0.0.2'
  
  
  
  
  
  
  

install
          gem install contractual
  
  
  
  
  
  
  

Authors:

  • Joseph Weissman

Owners:

Total downloads 5,288

For this version 3,330

Required Ruby Version: None

Links:

Versions:

  1. 0.0.2 - April 19, 2012 (7 KB)
  2. 0.0.1 - April 19, 2012 (7 KB)