lib/gov_kit-ca/postal_code.rb
Method find_province_by_postal_code
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.find_province_by_postal_code(postal_code)
case format_postal_code(postal_code)
when /\AA/
'Newfoundland and Labrador'
when /\AB/