Class: NRSER::RSpex::List
- Inherits:
-
Array
- Object
- Array
- NRSER::RSpex::List
- Defined in:
- lib/nrser/rspex.rb
Instance Method Summary collapse
Instance Method Details
#to_desc(max = nil) ⇒ Object
210 211 212 213 |
# File 'lib/nrser/rspex.rb', line 210 def to_desc max = nil max = [16, 64 / self.length].max if max.nil? map { |entry| NRSER::RSpex.short_s entry, max }.join ", " end |