Class: Whitestone::Assertion::True
- Defined in:
- lib/whitestone/assertion_classes.rb
Overview
———————————————————————– #
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(mode, *args, &block) ⇒ True
constructor
A new instance of True.
- #message ⇒ Object
- #run ⇒ Object
Methods inherited from Base
Methods included from Guards
#args_or_block_one_only, #block_required, #no_block_allowed, #one_argument, #two_arguments, #two_or_three_arguments, #type_check
Constructor Details
#initialize(mode, *args, &block) ⇒ True
Returns a new instance of True.
135 136 137 138 |
# File 'lib/whitestone/assertion_classes.rb', line 135 def initialize(mode, *args, &block) super @test_lambda = args_or_block_one_only(args, block) end |