Sha256: 17b6397a2accc79fb7355d0109eb3747b75981c5c14d99b86db749d0dbf9c5ee
Contents?: true
Size: 394 Bytes
Versions: 18
Compression:
Stored size: 394 Bytes
Contents
module Datacaster module ContextNodes class I18n < Datacaster::ContextNode def initialize(base, i18n_value) super(base) @i18n_value = i18n_value end private def create_runtime(parent) Runtimes::I18n.new(parent) end def transform_errors(errors) @i18n_value.with_args(runtime.args) * errors end end end end
Version data entries
18 entries across 18 versions & 1 rubygems