Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/zypper/onlinesearch/utils.rb
Overview
Array class patch.
Instance Method Summary collapse
Instance Method Details
#max_column(field) ⇒ Object
63 64 65 |
# File 'lib/zypper/onlinesearch/utils.rb', line 63 def max_column(field) max_by { |x| x[field].to_s.length }[field].to_s.length end |