Skip to content

Commit 723189f

Browse files
committed
Add enum_definition.rbs
1 parent dce6ee2 commit 723189f

File tree

1 file changed

+10
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)