Module: Rich::I18n::Core::String::Internationalization

Included in:
String
Defined in:
lib/rich/i18n/core/string/internationalization.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/rich/i18n/core/string/internationalization.rb', line 8

def self.included(base)
  base.extend ClassMethods
  base.send :include, InstanceMethods
  base.class_eval do
    cattr_accessor :i18n_translations
  end
end