Skip to content

Commit 45b77a4

Browse files
committed
Add RBS signature for Block#location
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
1 parent 5dca7f1 commit 45b77a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sig/types.rbs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,10 @@ module RBS
518518

519519
attr_reader self_type: t?
520520

521-
def initialize: (type: function, ?self_type: t?, required: boolish) -> void
521+
type loc = Location[bot, bot]
522+
attr_reader location: loc?
523+
524+
def initialize: (location: loc?, type: function, ?self_type: t?, required: boolish) -> void
522525

523526
def ==: (untyped other) -> bool
524527

0 commit comments

Comments
 (0)