RubyGems.org

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.

installgem install contractual
Authors

Joseph Weissman

5,220 total downloads 3,289 for this version
Owners

C4752b73a675b7652c1d2d52e5634091

Gemfile
gem 'contractual', '~> 0.0.2'
Versions
  1. 0.0.2 April 19, 2012 (7 KB)
  2. 0.0.1 April 19, 2012 (7 KB)