Last active
June 20, 2020 15:31
-
-
Save 123ish/52ef3621520113143c5f553ac9ee1202 to your computer and use it in GitHub Desktop.
Sampe gist - active_support.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# test gist | |
# just a code chunk | |
require "securerandom" | |
require "active_support/dependencies/autoload" | |
.... | |
module ActiveSupport | |
extend ActiveSupport::Autoload | |
autoload :Concern | |
autoload :ActionableError | |
autoload :ConfigurationFile | |
..... | |
eager_autoload do | |
autoload :BacktraceCleaner | |
autoload :ProxyObject | |
autoload :Benchmarkable | |
.... | |
end | |
autoload :Rescuable | |
autoload :SafeBuffer, "active_support/core_ext/string/output_safety" | |
autoload :TestCase | |
def self.eager_load! | |
super | |
NumberHelper.eager_load! | |
end | |
cattr_accessor :test_order # :nodoc: | |
def self.to_time_preserves_timezone | |
DateAndTime::Compatibility.preserve_timezone | |
end | |
.... | |
end | |
autoload :I18n, "active_support/i18n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a test of gist.