rubyforgood/casa

View on GitHub
app/helpers/mileage_rates_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module MileageRatesHelper
  def effective_date_parser(date)
    date = DateTime.current if date.blank?
    date.strftime(::DateHelper::RUBY_MONTH_DAY_YEAR_FORMAT)
  end
end