Move reserved keywords to a separate file
Add finalize as a reserved keyword.
This commit is contained in:
parent
04f3614ff7
commit
04cf211f24
|
@ -7,8 +7,5 @@ module Spectator
|
|||
# This also helps keep error traces small.
|
||||
# Documentation only useful for debugging is included in generated code.
|
||||
module DSL
|
||||
# Keywords that cannot be used in specs using the DSL.
|
||||
# These are either problematic or reserved for internal use.
|
||||
RESERVED_KEYWORDS = %i[initialize]
|
||||
end
|
||||
end
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
module Spectator
|
||||
module DSL
|
||||
# Keywords that cannot be used in specs using the DSL.
|
||||
# These are either problematic or reserved for internal use.
|
||||
RESERVED_KEYWORDS = %i[initialize finalize]
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue