You are viewing a single comment's thread. Return to all comments →
The name of the method 'odd_or_even' is confusing... Should be 'even?' or 'is_even?'
Seems like cookies are disabled on this browser, please enable them to open this website
Ruby Tutorial - Object Methods
You are viewing a single comment's thread. Return to all comments →
The name of the method 'odd_or_even' is confusing... Should be 'even?' or 'is_even?'