Sha256: 161511c4920aa3396a1ec909e06fc6ee781f4ffc125fb63e90fe045c680797be
Contents?: true
Size: 245 Bytes
Versions: 2
Compression:
Stored size: 245 Bytes
Contents
module I18nTranslationGeneratorModule class RecordingBackend attr_reader :keys def initialize @keys = [] end def translate(locale, key, options = {}) @keys << key.to_sym end alias :t :translate end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
amatsuda-i18n_generators-0.3.0 | generators/i18n_translation/lib/recording_backend.rb |
amatsuda-i18n_generators-0.3.1 | generators/i18n_translation/lib/recording_backend.rb |