lib/taxem.rb
def boundary_with_max_rate(zip_code)
      the_boundaries = boundary!(zip_code)
      max_boundary = the_boundaries.max_by { |boundary| @tax_calculator.rate(boundary) }
      max_boundary
    end
# Find the boundary with the largest tax rate in the zip code.
# We will use this as the effective tax rate for the zip.
#
Find the boundary with the largest tax rate in the zip code.
We will use this as the effective tax rate for the zip.
Find the boundary with the largest tax rate in the zip code . We will use this as the effective tax rate for the zip .
def boundary_with_max_rate(zip_code)
      the_boundaries = boundary!(zip_code)
      max_boundary = the_boundaries.max_by { |boundary| @tax_calculator.rate(boundary) }
      max_boundary
    end
def boundary_with_max_rate ( zip_code ) the_boundaries = boundary! ( zip_code ) max_boundary = the_boundaries . max_by { | boundary | @tax_calculator . rate ( boundary ) } max_boundary end
Find the boundary with the largest tax rate in the zip code.
Find the boundary with the largest tax rate in the zip code .
zip_code