On May 12, 2011, at 1:51 PM, Chad Perrin wrote:
> I've been seeing a lot of this lately:
> 
>    def foo(bar)
>      puts bar
>      end

Ruby 1.9.3dev emits a warning when you pull this kind of stunt:

$ ./ruby19 -v -
ruby 1.9.3dev (2011-05-13 trunk 31536) [x86_64-darwin10.7.0]
   def foo(bar)
     puts bar
     end
-:3: warning: mismatched indentations at 'end' with 'def' at 1