Skip to content

Commit ba6b5a1

Browse files
committed
Delete unused method
1 parent f1019fe commit ba6b5a1

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/rbs/ast/type_param.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,6 @@ def to_json(state = JSON::State.new)
5656
}.to_json(state)
5757
end
5858

59-
def rename(name)
60-
TypeParam.new(
61-
name: name,
62-
variance: variance,
63-
upper_bound: upper_bound_type,
64-
location: location,
65-
default_type: default_type
66-
).unchecked!(unchecked?)
67-
end
68-
6959
def map_type(&block)
7060
if b = upper_bound_type
7161
_upper_bound_type = yield(b)

0 commit comments

Comments
 (0)