Module: Paf::ThoroughfareLocality

Defined in:
lib/paf/thoroughfare_locality.rb

Overview

Processing for thoroughfare and locality elements of a PAF entry

Instance Method Summary collapse

Instance Method Details

#thoroughfares_and_localitiesObject



4
5
6
7
8
9
10
# File 'lib/paf/thoroughfare_locality.rb', line 4

def thoroughfares_and_localities
  [].tap do |array|
    thoroughfare_and_locality_attrs.each do |attr|
      array << send(attr) unless used_or_vacant?(attr)
    end
  end
end