First crack at a PHP-style configuration parse in Ruby