module Paf::Premises::Rule110
Processing for premises elements of a PAF entry under Rule 6
Public Instance Methods
premises()
click to toggle source
# 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
Private Instance Methods
premises_includes_first_thoroughfare_or_locality?()
click to toggle source
# File lib/paf/premises/rule110.rb, line 14 def premises_includes_first_thoroughfare_or_locality? !sub_building_name.exception? && building_name.exception? end