Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 23 lines (20 sloc) 0.514 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
# encoding: utf-8

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
Something went wrong with that request. Please try again.