We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e39f861 commit ffed352Copy full SHA for ffed352
templates/template.rb
@@ -23,6 +23,10 @@ def c_type
23
end
24
25
26
+ def ruby_type
27
+ options[:kind] || "Node"
28
+ end
29
+
30
def java_type
31
options[:kind] || "Node"
32
@@ -42,7 +46,7 @@ class NodeParam < Param
42
46
include KindTypes
43
47
44
48
def rbs_class
45
- "Node"
49
+ ruby_type
50
51
52
@@ -52,7 +56,7 @@ class OptionalNodeParam < Param
56
53
57
54
58
55
- "Node?"
59
+ "#{ruby_type}?"
60
61
62
0 commit comments