class HyperI18n::Localize

Public Instance Methods

date_or_time() click to toggle source
# File lib/hyper-i18n/operations/localize.rb, line 11
def date_or_time
  @date_or_time ||= formatted_date_or_time(params.date_or_time)
end
opts() click to toggle source
# File lib/hyper-i18n/operations/localize.rb, line 15
def opts
  @opts ||= params.opts.with_indifferent_access.merge(format: formatted_format(params.format))
end