mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Re-add with
modifier with constraint
Fixes `no_args` in DSL.
This commit is contained in:
parent
694e2e6259
commit
00c7141d95
1 changed files with 6 additions and 0 deletions
|
@ -11,5 +11,11 @@ module Spectator
|
||||||
constraint = Arguments.new(args, kwargs).as(AbstractArguments)
|
constraint = Arguments.new(args, kwargs).as(AbstractArguments)
|
||||||
self.with_constraint(constraint)
|
self.with_constraint(constraint)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# :ditto:
|
||||||
|
@[AlwaysInline]
|
||||||
|
def with(constraint : AbstractArguments)
|
||||||
|
with_constraint(constraint)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue