Class: AwesomeTranslations::CacheDatabaseGenerator::TranslationKey

Inherits:
BazaModels::Model
  • Object
show all
Defined in:
lib/awesome_translations/cache_database_generator/translation_key.rb

Instance Method Summary collapse

Instance Method Details

#last_keyObject



17
18
19
# File 'lib/awesome_translations/cache_database_generator/translation_key.rb', line 17

def last_key
  key.to_s.split(".").last
end