lib/hashie/extensions/dash/property_translation.rb
def inherited(klass)
            super
            klass.instance_variable_set(:@transforms, transforms.dup)
            klass.instance_variable_set(:@translations_hash, translations_hash.dup)
          end
# Ensures that any inheriting classes maintain their translations.
#
# * <tt>:default</tt> - The class inheriting the translations.
Ensures that any inheriting classes maintain their translations.
:default - The class inheriting the translations.
Ensures that any inheriting classes maintain their translations . : default - The class inheriting the translations .
def inherited(klass)
            super
            klass.instance_variable_set(:@transforms, transforms.dup)
            klass.instance_variable_set(:@translations_hash, translations_hash.dup)
          end
def inherited ( klass ) super klass . instance_variable_set ( :@transforms , transforms . dup ) klass . instance_variable_set ( :@translations_hash , translations_hash . dup ) end
Ensures that any inheriting classes maintain their translations.
Ensures that any inheriting classes maintain their translations .
klass