Skip to content

Commit 45c5a1c

Browse files
committed
Add typeref_definition.rbs
1 parent 06e8035 commit 45c5a1c

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 TyperefDefinition
3+
attr_accessor type: String
4+
attr_accessor pointer: :ref | nil
5+
6+
def initialize: (type: String, pointer: (:ref)?) -> void
7+
8+
def ==: (untyped other) -> bool
9+
10+
def pointer?: () -> bool
11+
end
12+
end

0 commit comments

Comments
 (0)