class NRSER::RSpex::List
Public Instance Methods
to_desc(max = nil)
click to toggle source
# File lib/nrser/rspex.rb, line 185 def to_desc max = nil return '' if empty? max = [16, 64 / self.length].max if max.nil? map { |entry| NRSER::RSpex.short_s entry, max }.join ", " end