Ruby and parenthesis

Do you prefer

p = Pathaname.new('.').realpath

or

p = (Pathname.new '.').realpath?

Tags: ,

One Response to “Ruby and parenthesis”

  1. JW says:

    I definitely prefer

    p = Pathaname.new(’.').realpath

Leave a Reply