> >  def foo(bar)
> >   puts bar
> >   end

> Is this is "real" code (e.g., source of gems, etc.) or in snippets? If
> its cut and pasted from, e.g., irb with autoindent it will look like
> that.

Agreed.  Cut n paste is a bitch that will rape your syntax.  It has no
mercy.  Trust it not.  Opining that I'd postulate these probing
stabbings may be unwarranted.

It does look pythony though.  Is that were it's coming from?