Method: Lit::Cache#keys
- Defined in:
- lib/lit/cache.rb
#keys ⇒ Object
55 56 57 58 59 60 61 62 |
# File 'lib/lit/cache.rb', line 55 def keys return @keys if @keys.present? @keys = localizations.keys return @keys if localizations.prefix.nil? @keys = @keys.map do |k| k.gsub(/^#{localizations.prefix}/, '') end end |