Skip to content

Instantly share code, notes, and snippets.

@the-spectator
Created August 22, 2020 17:02
Show Gist options
  • Save the-spectator/a2ced3fec9ce8e3f3d35b5464b02ed4d to your computer and use it in GitHub Desktop.
Save the-spectator/a2ced3fec9ce8e3f3d35b5464b02ed4d to your computer and use it in GitHub Desktop.
Ruby config object usage
# 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