class Paf::StringFormatter

Processing to format a PAF entry as a string

Public Instance Methods

format(paf) click to toggle source
Calls superclass method Paf::Formatter::format
# File lib/paf/string_formatter.rb, line 6
def format(paf)
  super(paf)
  ([(lines + [post_town]).condense(', ')] + [postcode]).condense('. ')
end