module Paf::Premises::Rule111

Processing for premises elements of a PAF entry under Rule 7

Public Instance Methods

premises() click to toggle source
# File lib/paf/premises/rule111.rb, line 5
def premises
  return [sub_name_and_name, number_and_thoroughfare_or_locality] if
    sub_building_name.exception?
  [sub_building_name, building_name, number_and_thoroughfare_or_locality]
end

Private Instance Methods

premises_includes_first_thoroughfare_or_locality?() click to toggle source
# File lib/paf/premises/rule111.rb, line 13
def premises_includes_first_thoroughfare_or_locality?
  true
end