Method: Part.longest

Defined in:
lib/oro/parts.rb

.longestObject



33
34
35
# File 'lib/oro/parts.rb', line 33

def self.longest
  @longest ||= list.empty? ? 0 : list.max { |a, b| a.length <=> b.length }.length
end