Add 'new' and 'allocate' to reserved keywords

This commit is contained in:
Michael Miller 2022-07-04 20:06:26 -06:00
parent 22a37d38f9
commit fb5f44ef10
No known key found for this signature in database
GPG key ID: 32B47AE8F388A1FF

View file

@ -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