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, line 65
def convert(record)
  super.map { |terms|
    [ terms.shift,
      terms.to_enum(:each_slice, 2).map { |w, c| "#{w} ##{c}" }.join(' ')
    ].join(SEPARATOR) if check_args('odd, > 1', terms.size) { |actual|
      actual > 1 && actual % 2 == 1
    }
  }.compact
end