Sha256: 04335ce11b922dafdba44804cf633a2c91f37ba8a7be0d52c4d66bbab06b21b7

Contents?: true

Size: 368 Bytes

Versions: 7

Compression:

Stored size: 368 Bytes

Contents

module I18n
  module Backend
    class Simple
      module Implementation

        # Extend the Simple backend with a custom `available_translations` method
        # returning a combined hash with all translations from this backend
        def available_translations
          send(:translations)
        end
      end

      include Implementation
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
exvo_globalize-0.3.2 lib/exvo_globalize/backend/simple.rb
exvo_globalize-0.3.1 lib/exvo_globalize/backend/simple.rb
exvo_globalize-0.3.0 lib/exvo_globalize/backend/simple.rb
exvo_globalize-0.2.1 lib/exvo_globalize/backend/simple.rb
exvo_globalize-0.2.0 lib/exvo_globalize/backend/simple.rb
exvo_globalize-0.1.0 lib/exvo_globalize/backend/simple.rb
exvo_globalize-0.0.2 lib/exvo_globalize/backend/simple.rb