krzysztofzablocki/crafter — pull request #12 by apalancat (2014-08-24 17:56:24+00:00)
Title: Fix operator precedence bug

Would fail with "undefined method `empty?' for nil:NilClass" if `@build_settings` was `nil`.
I prefer explicit "old school" operators in this case, but it could also work reversing it: `... unless @build_settings.empty? if @build_settings`