Class: RailsConsolePro::Printers::DiffPrinter
- Inherits:
-
BasePrinter
- Object
- BasePrinter
- RailsConsolePro::Printers::DiffPrinter
- Defined in:
- lib/rails_console_pro/printers/diff_printer.rb
Overview
Printer for object comparison results
Instance Attribute Summary
Attributes inherited from BasePrinter
#output, #pry_instance, #value
Instance Method Summary collapse
Methods inherited from BasePrinter
Methods included from ColorHelper
#bold_color, #color, #method_missing, #pastel, #respond_to_missing?
Constructor Details
This class inherits a constructor from RailsConsolePro::BasePrinter
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RailsConsolePro::ColorHelper
Instance Method Details
#print ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/rails_console_pro/printers/diff_printer.rb', line 7 def print print_header print_type_comparison print_identical_status print_differences end |