Class: RailsStats::ConsoleFormatter
- Inherits:
-
StatsFormatter
- Object
- StatsFormatter
- RailsStats::ConsoleFormatter
- Defined in:
- lib/rails_stats/console_formatter.rb
Instance Attribute Summary
Attributes inherited from StatsFormatter
Instance Method Summary collapse
Methods inherited from StatsFormatter
Constructor Details
This class inherits a constructor from RailsStats::StatsFormatter
Instance Method Details
#to_s ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/rails_stats/console_formatter.rb', line 5 def to_s Bundler::Stats::CLI.start(['--format', 'text']) if calculator.packs? print_grouped else print_flat end print_code_test_stats print_polymorphic_stats print_schema_stats end |