Method: AllQ::Stats#interize
- Defined in:
- lib/allq/actions/stats.rb
#interize(hash) ⇒ Object
50 51 52 53 |
# File 'lib/allq/actions/stats.rb', line 50 def interize(hash) return {} if hash.nil? || hash.empty? hash.update(hash){ |_, v| v.to_i } end |