What's the quickest way to determine if an int is an even number 2,4,6,8... Anything such as int.even or int.odd returning true/false? I want to test the length of an array and add one element to it if it has an odd number of elements. Thank you! -- Posted via http://www.ruby-forum.com/.