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