arbitrary.rb

Path: rushcheck/arbitrary.rb
Last Update: Sat Oct 28 08:55:20 JST 2006

arbitrary.rb

This file includes two modules Arbitrary and Coarbitrary. Arbitrary provides an instance method arbitrary. Coarbitrary provides a class method coarbitrary. However they are abstract methods and should be overrided in each class after extend/include them.

class YourClass

  extend  RushCheck::Arbitrary
  include RushCheck::Coarbitrary

  def self.arbitrary
  # must be overrided
  end

  def coarbitrary
  # must be overrided also
  end

end

[Validate]