You could try the Rubocop gem. It automates checking your code against the Ruby 
style guide. 

https://github.com/bbatsov/rubocop

YMMV

Tony

On May 12, 2013, at 5:45 PM, Cynthia Kiser <[email protected]> wrote:

> Quoting Michael Cordell <[email protected]>:
>> Can anyone recommend resources for code review/refactoring of Ruby code? 
>> I've produced some stuff in Ruby and I know that Ruby has its own 
>> syntactical idioms. I would like to make my work better fit there idioms 
>> and in general be more Ruby-esque. Moreover, I think I would benefit from 
>> some general tips about making my code better.
> 
> First I would suggest books: "Eloquent Ruby" will show you how to make
> your code more Ruby-esque. "Practical Object Oriented Design in Ruby"
> is a mind expanding book useful for any OO language - and especially
> good on teaching you what to test so that your TDD is efficient and
> effective. 
> 
> For an outside critique of your code, finding someone in the local
> Ruby community would probably be the most return for the time and
> money. But I have heard good things about Code Climate - so you might
> want to give them a try after you have gotten some in person pointers.
> https://codeclimate.com/
> 
> -- 
> Cynthia N. Kiser
> [email protected]
> 
> "Ever tried. Ever failed. No matter. Try again. Fail again. Fail better" 
>      Worstward Ho 
>      by Samuel Beckett
> 
> -- 
> -- 
> SD Ruby mailing list
> [email protected]
> http://groups.google.com/group/sdruby
> --- 
> You received this message because you are subscribed to the Google Groups "SD 
> Ruby" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
--- 
You received this message because you are subscribed to the Google Groups "SD 
Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to