class FipeApi::Utils
Public Class Methods
month_name_to_int(month_name)
click to toggle source
# File lib/fipe_api/utils.rb, line 3 def self.month_name_to_int(month_name) month_names = ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro"] month_names.index(month_name) end