ManageIQ/manageiq

View on GitHub
lib/report_formatter.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# If code uses the old constant name:
#   * Rails will autoload it and start here.
#   * We assign the old toplevel constant to the new constant.
#   * We can't include rails deprecate_constant globally, so we use ruby's.
ReportFormatter = ManageIQ::Reporting::Formatter
Object.deprecate_constant :ReportFormatter