brackets in ruby methods