From b0693e3ec1512f3f6067e3b2dd9b1d20377124fe Mon Sep 17 00:00:00 2001 From: Jon Pascoe Date: Fri, 10 May 2024 22:29:38 +0100 Subject: [PATCH] Undo linting --- lib/ice_cube/i18n.rb | 8 ++++---- lib/ice_cube/rule.rb | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/ice_cube/i18n.rb b/lib/ice_cube/i18n.rb index f8cf2f04..6f135026 100644 --- a/lib/ice_cube/i18n.rb +++ b/lib/ice_cube/i18n.rb @@ -4,12 +4,12 @@ module IceCube module I18n LOCALES_PATH = File.expand_path(File.join("..", "..", "..", "config", "locales"), __FILE__) - def self.t(*, **) - backend.t(*, **) + def self.t(*args, **kwargs) + backend.t(*args, **kwargs) end - def self.l(*, **) - backend.l(*, **) + def self.l(*args, **kwargs) + backend.l(*args, **kwargs) end def self.backend diff --git a/lib/ice_cube/rule.rb b/lib/ice_cube/rule.rb index 6c4c96ef..30689267 100644 --- a/lib/ice_cube/rule.rb +++ b/lib/ice_cube/rule.rb @@ -36,8 +36,8 @@ def self.from_ical(ical) end # Yaml implementation - def to_yaml(*) - YAML.dump(to_hash, *) + def to_yaml(*args) + YAML.dump(to_hash, *args) end # From yaml