lib/ibandit.rb in ibandit-1.0.0 vs lib/ibandit.rb in ibandit-1.0.1
- old
+ new
@@ -34,9 +34,9 @@
File.expand_path("../data/structures.yml", __dir__),
)
end
def translate(key, options = {})
- I18n.translate(key, { scope: [:ibandit] }.merge(options))
+ I18n.translate(key, scope: [:ibandit], **options)
end
end
end