module Paf::Premises::Common

Common processing for premises elements of a PAF entry

Private Instance Methods

concatenate?() click to toggle source
# File lib/paf/premises/common.rb, line 7
def concatenate?
  concatenation_indicator == 'Y'
end
name_and_thoroughfare_or_locality() click to toggle source
# File lib/paf/premises/common.rb, line 19
def name_and_thoroughfare_or_locality
  "#{building_name} #{first_thoroughfare_or_locality}"
end
number_and_thoroughfare_or_locality() click to toggle source
# File lib/paf/premises/common.rb, line 15
def number_and_thoroughfare_or_locality
  "#{building_number} #{first_thoroughfare_or_locality}"
end
sub_name_and_name() click to toggle source
# File lib/paf/premises/common.rb, line 11
def sub_name_and_name
  "#{sub_building_name} #{building_name}"
end