Class: TestProf::RSpecDissect::Collectors::Before
- Defined in:
- lib/test_prof/rspec_dissect/collectors/before.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(params) ⇒ Before
constructor
A new instance of Before.
- #print_name ⇒ Object
Methods inherited from Base
#<<, #populate!, #print_group_result, #print_result_header, #print_results, #total_time, #total_time_message
Constructor Details
#initialize(params) ⇒ Before
Returns a new instance of Before.
9 10 11 |
# File 'lib/test_prof/rspec_dissect/collectors/before.rb', line 9 def initialize(params) super(name: :before, **params) end |
Instance Method Details
#print_name ⇒ Object
13 14 15 |
# File 'lib/test_prof/rspec_dissect/collectors/before.rb', line 13 def print_name "before(:each)" end |