Skip to content

Commit 25fc896

Browse files
committed
Add function_definition.rbs
1 parent 45c5a1c commit 25fc896

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module RubyHeaderParser
2+
class FunctionDefinition
3+
attr_accessor name: String
4+
attr_accessor definition: String
5+
attr_accessor typeref: TyperefDefinition
6+
attr_accessor args: Array[ArgumentDefinition]
7+
8+
def initialize: (name: String, definition: String, typeref: TyperefDefinition, args: Array[ArgumentDefinition]) -> void
9+
10+
def ==: (untyped other) -> bool
11+
end
12+
end

0 commit comments

Comments
 (0)