2010-04-03 00:43:46 -04:00
|
|
|
# Copyright (c) 2010 Michael Dvorkin
|
|
|
|
#
|
|
|
|
# Awesome Print is freely distributable under the terms of MIT license.
|
|
|
|
# See LICENSE file or http://www.opensource.org/licenses/mit-license.php
|
|
|
|
#------------------------------------------------------------------------------
|
2010-11-13 12:12:54 -05:00
|
|
|
%w(array string method object class kernel).each do |file|
|
|
|
|
require File.dirname(__FILE__) + "/ap/core_ext/#{file}"
|
|
|
|
end
|
2010-04-22 00:57:21 -04:00
|
|
|
|
2010-11-13 12:12:54 -05:00
|
|
|
require File.dirname(__FILE__) + "/ap/awesome_print"
|
|
|
|
require File.dirname(__FILE__) + "/ap/core_ext/logger" if defined?(::Logger) or defined?(::ActiveSupport::BufferedLogger)
|
|
|
|
require File.dirname(__FILE__) + "/ap/mixin/action_view" if defined?(::ActionView)
|
|
|
|
require File.dirname(__FILE__) + "/ap/mixin/active_record" if defined?(::ActiveRecord)
|
2010-04-21 21:27:26 -04:00
|
|
|
require File.dirname(__FILE__) + "/ap/mixin/active_support" if defined?(::ActiveSupport)
|
|
|
|
|