It's not exactly a convention, although there are some double-underscored methods in ruby-core. My intention was to communicate that it's a variable essentially private to the method - an implementation detail of memoization.