File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ class TyperefDefinition
8
8
attr_accessor :type
9
9
10
10
# @!attribute pointer
11
- # @return [Symbol,nil]
11
+ # @return [Symbol,nil] :ref, :raw
12
12
attr_accessor :pointer
13
13
14
14
# @param type [String]
15
- # @param pointer [Symbol,nil] :ref
15
+ # @param pointer [Symbol,nil] :ref, :raw
16
16
def initialize ( type :, pointer : nil )
17
17
@type = type
18
18
@pointer = pointer
Original file line number Diff line number Diff line change 1
1
module RubyHeaderParser
2
2
class TyperefDefinition
3
3
attr_accessor type : String
4
- attr_accessor pointer: :ref | nil
4
+ attr_accessor pointer: :ref | :raw | nil
5
5
6
- def initialize : (type : String, pointer: (:ref)?) -> void
6
+ def initialize : (type : String, pointer: (:ref | :raw )?) -> void
7
7
8
8
def == : (untyped other) -> bool
9
9
You can’t perform that action at this time.
0 commit comments