Hacker News new | ask | show | jobs
by baddox 3000 days ago
Nope. Ruby doesn’t support the function call paren syntax for anything other than methods. You could do stuff like Whatever.new().foo.().bar[] though.
1 comments

foo, bar, and baz are all methods here, so you can use parens.