From: Glenn Jackman Date: 2009-09-02T05:15:05+09:00 Subject: Re: Remove comments from ruby source code? At 2009-09-01 07:12AM, "Arul hari" wrote: > Dear Friends, > If there any pre-defined function or ruby options available > for removing the ruby comments from the source code. Please any on help > me if you already aware of this. The ruby_parser and ruby2ruby gems will do this: require 'ruby_parser' require 'ruby2ruby' code = <