module Representations
  class Base
    def ordinalize(number)
      suffix =
        case number.to_s.split("").last
        when "1"; "st"
        when "2"; "nd"
        when "3"; "rd"
        else; "th"
        end

      "#{number}#{suffix}"
    end
  end
end

module Representations
  class Base
    def ordinalize(number)
      ActiveSupport::Inflector.ordinalize(number)
    end
  end
end

Use the inflector available to me!
Use the inflector available to me!
