logstash/logstash — pull request #443 by KushalP (2013-04-16 21:58:54+00:00)
Title: Refactor LogStash::Outputs::Email.register method

Rather than verbosely checking whether values exist, it's simpler to provide default values to the `fetch` method. This simplifies a lot of the method and means it's easier to read and reason about.