class Athena::Formats::Lingo::WordClass
“Essen,essen v Essen s Esse s”
Constants
- SEPARATOR
Public Instance Methods
convert(record)
click to toggle source
Calls superclass method
Athena::Formats::Lingo#convert
# File lib/athena/formats/lingo.rb 65 def convert(record) 66 super.map { |terms| 67 [ terms.shift, 68 terms.to_enum(:each_slice, 2).map { |w, c| "#{w} ##{c}" }.join(' ') 69 ].join(SEPARATOR) if check_args('odd, > 1', terms.size) { |actual| 70 actual > 1 && actual % 2 == 1 71 } 72 }.compact 73 end