lib/locomotive/steam/services/translator_service.rb in locomotivecms_steam-1.0.0.pre.beta.3 vs lib/locomotive/steam/services/translator_service.rb in locomotivecms_steam-1.0.0.rc1

- old
+ new

@@ -1,8 +1,10 @@ module Locomotive module Steam - class TranslatorService < Struct.new(:repository, :current_locale) + class TranslatorService + + attr_accessor_initialize :repository, :current_locale # Return the translation described by a key. # # @param [ String ] key The key of the translation. # @param [ String ] locale The locale we want the translation in