ruby check if value can be converted to integer code example Example: ruby test is number 12.is_a? Numeric