I have this if-condition:
foo(:bar) if foo(:bar) != 0
and I asked myself if there is a better "rails-/ruby-way" to express this condition? (Without calling the foo(:bar) twice?)
Aucun commentaire:
Enregistrer un commentaire