Less than 1 min to read (58 words)

Leap Year

Tags: rails

I wanted to start Github Gists with this simple coding kata I just did. One critique I have of my code is that the naming of the divisible_logic? method is unclear. However, this problem is confusing to read. It was only when I tried out the samples they mentioned that I understood what the question meant.

posted 2015-06-28 20:08:21 -0700 by Belda


Recommended from Stack Overflow:

rake assets:precompile misses jquery-ui-rails files , tagged: ["ruby-on-rails", "asset-pipeline", "activeadmin"]

Rails - how to run a cmd line script and display the output in real time? , tagged: ["ruby-on-rails", "ruby"]

How to get localized values from Facebook Open Graph API through Koala? , tagged: ["facebook-graph-api", "translation", "koala-gem"]

Why does Active Record use module_eval internally for certain features? , tagged: ["ruby-on-rails", "ruby", "activerecord", "ruby-on-rails-4"]