Sha256: 2e563d6b9a3854e7c153a30e5783fc6f49151b3a254bc51431f3f94ba258cdcc

Contents?: true

Size: 227 Bytes

Versions: 44

Compression:

Stored size: 227 Bytes

Contents

module Locomotive
  module Wagon

    class TranslationDecorator < SimpleDelegator

      include ToHashConcern

      def id
        key
      end

      def __attributes__
        %i(key values)
      end

    end

  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
locomotivecms_wagon-3.2.0.alpha2 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-3.2.0.alpha1 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-3.1.1 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-3.1.0 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-3.1.0.beta1 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-3.0.5 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-3.0.4 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-3.0.3 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-3.0.2 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-3.0.0 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-3.0.0.rc0 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-3.0.0.beta2 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-2.4.1 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-2.4.0 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-2.4.0.rc2 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-2.4.0.rc1 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-2.3.0 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-2.3.0.rc1 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-2.2.0 lib/locomotive/wagon/decorators/translation_decorator.rb
locomotivecms_wagon-2.2.0.rc3 lib/locomotive/wagon/decorators/translation_decorator.rb