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
12 13 14 |
# File 'lib/test_prof/recipes/rspec/let_it_be.rb', line 12 def block @block end |
#scope ⇒ Object
Returns the value of attribute scope
12 13 14 |
# File 'lib/test_prof/recipes/rspec/let_it_be.rb', line 12 def scope @scope end |
Instance Method Details
#call(record, config) ⇒ Object
13 14 15 |
# File 'lib/test_prof/recipes/rspec/let_it_be.rb', line 13 def call(record, config) block.call(record, config) end |