lib/i18n/js/formatters/base.rb in i18n-js-3.5.1 vs lib/i18n/js/formatters/base.rb in i18n-js-3.6.0
- old
+ new
@@ -1,13 +1,14 @@
module I18n
module JS
module Formatters
class Base
- def initialize(js_extend: false, namespace: nil, pretty_print: false, prefix: nil)
+ def initialize(js_extend: false, namespace: nil, pretty_print: false, prefix: nil, suffix: nil)
@js_extend = js_extend
@namespace = namespace
@pretty_print = pretty_print
@prefix = prefix
+ @suffix = suffix
end
protected
def format_json(translations)