Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/scampi/monkey_patches.rb,
lib/scampi/monkey_patches.rb
Overview
Predicate extensions for truth testing.
Instance Method Summary collapse
- #false? ⇒ Boolean
-
#should(*args, &block) ⇒ Object
Create a Scampi::Should wrapper for this object.
- #true? ⇒ Boolean
Instance Method Details
#false? ⇒ Boolean
7 |
# File 'lib/scampi/monkey_patches.rb', line 7 def false? = false |
#should(*args, &block) ⇒ Object
Create a Scampi::Should wrapper for this object.
71 72 73 |
# File 'lib/scampi/monkey_patches.rb', line 71 def should(*args, &block) Scampi::Should.new(self).be(*args, &block) end |
#true? ⇒ Boolean
4 |
# File 'lib/scampi/monkey_patches.rb', line 4 def true? = false |