theforeman/puppet-foreman — pull request #38 by eLobato (2013-02-06 15:13:38+00:00)
Title: Storeconfigs typo. && precedence fix

There was a typo where :storeconfigs was written as :storeconfig.

The 'and not' was changed for the ampersand and bang because of this: https://github.com/bbatsov/ruby-style-guide .

"and" (control flow) and "&&" (boolean) are not the same, the second one has more precedence and using the former might lead to weird errors. Example:

>> a = true
>> b = false
>> b and a ? 'hello' : '**silence**'
=> false # oops. should be ***silence***