class Object
Predicate extensions for truth testing.
Definitions
def true?
Signature
-
returns
Boolean Always false for non-boolean objects.
def false?
Signature
-
returns
Boolean Always false for non-boolean objects.
def should(*args, &block)
Create a class Scampi::Should wrapper for this object.
Signature
-
returns
Scampi::Should
Implementation
def should(*args, &block)
Scampi::Should.new(self).be(*args, &block)
end