Created
August 22, 2020 17:02
-
-
Save the-spectator/a2ced3fec9ce8e3f3d35b5464b02ed4d to your computer and use it in GitHub Desktop.
Ruby config object usage
This file contains 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
# Configuring using configuration object | |
ApplicationConfig.configure do |config| | |
config.logger = Logger.new(STDOUT) | |
config.async_enabled = true | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment