mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add 'new' and 'allocate' to reserved keywords
This commit is contained in:
parent
22a37d38f9
commit
fb5f44ef10
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@ module Spectator
|
||||||
module DSL
|
module DSL
|
||||||
# Keywords that cannot be used in specs using the DSL.
|
# Keywords that cannot be used in specs using the DSL.
|
||||||
# These are either problematic or reserved for internal use.
|
# These are either problematic or reserved for internal use.
|
||||||
RESERVED_KEYWORDS = %i[initialize finalize class]
|
RESERVED_KEYWORDS = %i[initialize finalize class new allocate]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue