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:
parent
1e5c6c92f4
commit
751d6c9fc1
1 changed files with 3 additions and 1 deletions
|
@ -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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue