Class: BasicAssumption::DefaultAssumption::Base
- Inherits:
-
Object
- Object
- BasicAssumption::DefaultAssumption::Base
- Defined in:
- lib/basic_assumption/default_assumption/base.rb
Overview
Provides the default behavior out of the box for calls to BasicAssumption#assume. block
is a method that returns a Proc instance.
Instance Method Summary collapse
-
#block ⇒ Object
Returns a proc that accepts an argument (which is, in practice, the name that was passed to BasicAssumption#assume) and returns
nil
.
Instance Method Details
#block ⇒ Object
Returns a proc that accepts an argument (which is, in practice, the name that was passed to BasicAssumption#assume) and returns nil
.
8 9 10 |
# File 'lib/basic_assumption/default_assumption/base.rb', line 8 def block Proc.new { |name, context| } end |