Ubuntu 14.04

I usually prefer the following pattern, but not a big deal...

    def foo
      @foo ||= begin
        x = 1+1
        x +=2
        x
      end
    end