1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

fix load order...

This commit is contained in:
James Cox 2019-01-22 16:50:04 -05:00
parent 1e5c6c92f4
commit 751d6c9fc1

View file

@ -2,11 +2,13 @@
# so do nothing for subsequent requires. # so do nothing for subsequent requires.
# #
unless defined?(AwesomePrint::Inspector) unless defined?(AwesomePrint::Inspector)
# FIXME: not sure we need these, but..
require 'awesome_print/custom_defaults'
%w(active_support awesome_method_array string object class kernel).each do |file| %w(active_support awesome_method_array string object class kernel).each do |file|
require "awesome_print/core_ext/#{file}" require "awesome_print/core_ext/#{file}"
end end
require 'awesome_print/custom_defaults'
require 'awesome_print/inspector' require 'awesome_print/inspector'
require 'awesome_print/formatter' require 'awesome_print/formatter'