Apologies, not familiar with Ruby, first style that came up when I looked for Ruby inline functions.  Will fix.