Accessing host/db info in database.yml

I’d like to be able to display which host/database I’m accessing. How
do I access the info in my database.yml file?

Thanks,

-Al