Use `build` instead of `capture` for `none`

This commit is contained in:
Michael Miller 2022-10-23 21:53:24 -06:00
parent e2130d12d3
commit 39e4f8e37a
No known key found for this signature in database
GPG Key ID: 32B47AE8F388A1FF
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ module Spectator
end
# Instance of empty arguments.
class_getter none : AbstractArguments = capture
class_getter none : AbstractArguments = build
# Returns unconstrained arguments.
def self.any : AbstractArguments?