Class: PeakFlowUtils::TranslationKey
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- PeakFlowUtils::TranslationKey
- Defined in:
- lib/peak_flow_utils/models/translation_key.rb
Instance Method Summary collapse
Instance Method Details
#last_key ⇒ Object
5 6 7 |
# File 'lib/peak_flow_utils/models/translation_key.rb', line 5 def last_key key.to_s.split(".").last end |