Module: KnapsackPro::Formatters::RSpecQueueProfileFormatterExtension
- Included in:
- RSpec::Core::Formatters::ProfileFormatter
- Defined in:
- lib/knapsack_pro/formatters/rspec_queue_profile_formatter_extension.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.print_summary ⇒ Object
6 7 8 9 |
# File 'lib/knapsack_pro/formatters/rspec_queue_profile_formatter_extension.rb', line 6 def self.print_summary return unless KnapsackPro::Config::Env.modify_default_rspec_formatters? RSpec::Core::Formatters::ProfileFormatter.print_profile_summary end |
Instance Method Details
#dump_profile(profile) ⇒ Object
16 17 18 |
# File 'lib/knapsack_pro/formatters/rspec_queue_profile_formatter_extension.rb', line 16 def dump_profile(profile) self.class.most_recent_profile = profile end |
#initialize(output) ⇒ Object
11 12 13 14 |
# File 'lib/knapsack_pro/formatters/rspec_queue_profile_formatter_extension.rb', line 11 def initialize(output) @output = output self.class.registered_output = output end |