Module: RushCheck::Coarbitrary

Included in:
FalseClass, Float, Integer, NilClass, RandomArray, RandomHash, RandomProc, String, TrueClass
Defined in:
lib/rushcheck/arbitrary.rb

Instance Method Summary collapse

Instance Method Details

#coarbitrary(g) ⇒ Object

It is assumed that the coarbitrary method must be overrided and return a Gen object. See also rushcheck/gen.rb.

Raises:

  • (NotImplementedError)


40
41
42
# File 'lib/rushcheck/arbitrary.rb', line 40

def coarbitrary(g)
  raise(NotImplementedError, "This method should be overrided.")
end