Add stubs for primitive methods

This commit is contained in:
Michael Miller 2022-03-14 21:53:09 -06:00
parent 64cd921a7e
commit 01fc91e854
No known key found for this signature in database
GPG key ID: AC78B32D30CE34A2

View file

@ -160,8 +160,7 @@ module Spectator
{% end %} {% end %}
{% for method in type.methods.reject do |meth| {% for method in type.methods.reject do |meth|
meth.annotation(Primitive) || meth.name.starts_with?("_spectator") ||
meth.name.starts_with?("_spectator") ||
DSL::RESERVED_KEYWORDS.includes?(meth.name.symbolize) DSL::RESERVED_KEYWORDS.includes?(meth.name.symbolize)
end %} end %}
{{style.id}} {{method}} {{style.id}} {{method}}