Module: RushCheck::Arbitrary
- Included in:
- FalseClass, Float, Integer, NilClass, RandomArray, RandomHash, RandomProc, String, TrueClass
- Defined in:
- lib/rushcheck/arbitrary.rb
Instance Method Summary collapse
-
#arbitrary ⇒ Object
It is assumed that the arbitrary method must be overrided and return a Gen object with the same class of self.
Instance Method Details
#arbitrary ⇒ Object
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.
30 31 32 |
# File 'lib/rushcheck/arbitrary.rb', line 30 def arbitrary raise(NotImplementedError, "This method should be overrided.") end |