Class: TestProf::LetItBe::Modifier
- Inherits:
-
Struct
- Object
- Struct
- TestProf::LetItBe::Modifier
- Defined in:
- lib/test_prof/recipes/rspec/let_it_be.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#scope ⇒ Object
Returns the value of attribute scope.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
10 11 12 |
# File 'lib/test_prof/recipes/rspec/let_it_be.rb', line 10 def block @block end |
#scope ⇒ Object
Returns the value of attribute scope
10 11 12 |
# File 'lib/test_prof/recipes/rspec/let_it_be.rb', line 10 def scope @scope end |
Instance Method Details
#call(record, config) ⇒ Object
11 12 13 |
# File 'lib/test_prof/recipes/rspec/let_it_be.rb', line 11 def call(record, config) block.call(record, config) end |