Sha256: 1205cfd9190fd08e64db0e8de5648560421cca05a0b4597a7652d81c792572bc
Contents?: true
Size: 403 Bytes
Versions: 9
Compression:
Stored size: 403 Bytes
Contents
module Multilang class MultilangTranslationProxy < String attr_reader :multilang_keeper def initialize(multi_keeper, locale) @multilang_keeper = multi_keeper super(@multilang_keeper.to_str(locale)) end def translation @multilang_keeper end def to_s String.new(self) end def any @multilang_keeper.current_or_any_value end end end
Version data entries
9 entries across 9 versions & 1 rubygems