Get rid of unnecessary ternary operator

Condition `required == :required` is already boolean operation.
So we don't need to return `true` and `false` explicitly.
Merge pull request #54 from ck3g/fix/ternary-operator

Get rid of unnecessary ternary operator