Ruby Rogues Code Reading – Dotenv

Ruby Rogues Code Reading

A nice code reading session on dotenv by ruby rogues.

dotenv is an environment variable loader for ruby. It’s a simple library, but there’re some edge cases around parsing and loading setting from the .env file, and resulted in a good session about some good ruby techniques.

It talks about

  • difference between protected and private
  • enumerator behaviors with inject and each_with_object method
  • composing complex regexes with multiple sections and recursions
  • parsing quoted and unquoted variables in the .env file


Looking for another session.

Posted on August 31, 2014, in Ruby, Software Design, Web. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: