Sha256: b94f74bac6c02507946e0839c236fcb0aa7f621daee5b3e0861ed985257556a5

Contents?: true

Size: 495 Bytes

Versions: 3

Compression:

Stored size: 495 Bytes

Contents

require 'i18n/backend/base'

# Stub class for the Simple backend. The actual implementation is provided by
# the backend Base class. This makes it easier to extend the Simple backend's
# behaviour by including modules. E.g.:
#
# module I18n::Backend::Pluralization
#   def pluralize(*args)
#     # extended pluralization logic
#     super
#   end
# end
#
# I18n::Backend::Simple.send(:include, I18n::Backend::Pluralization)

module I18n
  module Backend
    class Simple < Base
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
theoooo-i18n-0.2.0 lib/i18n/backend/simple.rb
theoooo-i18n-0.2.1 lib/i18n/backend/simple.rb
theoooo-i18n-0.2.2 lib/i18n/backend/simple.rb