mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Fix usage of deprecated methods
This commit is contained in:
parent
11bf9ffcdc
commit
a8b8c35cc7
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ module Ameba::Rule
|
||||||
|
|
||||||
# Adds an issue to the *source*
|
# Adds an issue to the *source*
|
||||||
macro issue_for(*args, **kwargs, &block)
|
macro issue_for(*args, **kwargs, &block)
|
||||||
source.add_issue(self, {{ *args }}, {{ **kwargs }}) {{ block }}
|
source.add_issue(self, {{ args.splat }}, {{ kwargs.double_splat }}) {{ block }}
|
||||||
end
|
end
|
||||||
|
|
||||||
protected def self.rule_name
|
protected def self.rule_name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue