module Paf::Premises::Rule101

Processing for premises elements of a PAF entry under Rule 5

Public Instance Methods

premises() click to toggle source
# File lib/paf/premises/rule101.rb, line 5
def premises
  return [number_sub_name_and_thoroughfare_or_locality] if concatenate?
  [sub_building_name, number_and_thoroughfare_or_locality]
end

Private Instance Methods

number_sub_name_and_thoroughfare_or_locality() click to toggle source
# File lib/paf/premises/rule101.rb, line 16
def number_sub_name_and_thoroughfare_or_locality
  "#{building_number}#{sub_building_name} "\
    "#{first_thoroughfare_or_locality}"
end
premises_includes_first_thoroughfare_or_locality?() click to toggle source
# File lib/paf/premises/rule101.rb, line 12
def premises_includes_first_thoroughfare_or_locality?
  true
end