I'm using Ruby 2.4. I have a data array that has a bunch of strings ...
["a", "1", "123", "a2c", ...]
I can check the percentage of elements in my array that are exclusively numbers using
data_col.grep(/^\d+$/).size / data_col.size.to_f
but how do I check the percentage of elements taht are numbers and whose value falls between 1 and 100?