Module: RushCheck::Arbitrary

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

Instance Method Summary collapse

Instance Method Details

#arbitraryObject

It is assumed that the arbitrary method must be overrided and return a Gen object with the same class of self. See also rushcheck/gen.rb.

Raises:

  • (NotImplementedError)


30
31
32
# File 'lib/rushcheck/arbitrary.rb', line 30

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