Module: Paf::Premises::Rule110

Defined in:
lib/paf/premises/rule110.rb

Overview

Processing for premises elements of a PAF entry under Rule 6

Instance Method Summary collapse

Instance Method Details

#premisesObject



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

def premises
  return [sub_name_and_name] if sub_building_name.exception?
  return [sub_building_name, name_and_thoroughfare_or_locality] if
    building_name.exception?
  [sub_building_name, building_name]
end