Class: Air18n::PhraseRevision
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Air18n::PhraseRevision
- Defined in:
- lib/air18n/phrase_revision.rb
Class Method Summary collapse
Class Method Details
.value_from_hash(phrase_key, hash) ⇒ Object
5 6 7 8 |
# File 'lib/air18n/phrase_revision.rb', line 5 def self.value_from_hash(phrase_key, hash) pr = find_by_key_and_value_hash(phrase_key, hash) pr.value if pr end |