module Datify::Language
Constants
- MONTHS_IT
Attributes
lang[R]
Public Instance Methods
default_language()
click to toggle source
# File lib/datify/language.rb, line 7 def default_language @lang = 'it' end
get_month(m)
click to toggle source
# File lib/datify/language.rb, line 15 def get_month(m) MONTHS_IT[m.upcase] || m end
set_language(locale)
click to toggle source
# File lib/datify/language.rb, line 11 def set_language(locale) @lang = locale end