#25 ✓resolved
Kevin Rutherford

read source from stdin

Reported by Kevin Rutherford | March 8th, 2009 @ 02:12 PM

From Ashley Moran, via email:

"Not sure I like the way you pass ruby source on the command line. Maybe a separate option would work, eg

% reek --ruby "def hello; puts 'hello'; end"

It's more unix-y to pass source via stdin, eg

% reek <<-ENDRUBY heredocd> def hello heredocd> puts "Hello" heredocd> end heredocd> ENDRUBY

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Defects and feature requests for Reek, the Ruby code smell detector

People watching this ticket

Referenced by

Pages