class RuboCop::Cop::Sorbet::ForbidTBind
#: self as Integer
# good
T.bind(self, Integer)
# bad
@example
Disallows using ‘T.bind` anywhere.
def on_send(node)
def on_send(node) add_offense(node) if t_bind?(node) end
#: self as Integer
# good
T.bind(self, Integer)
# bad
@example
Disallows using ‘T.bind` anywhere.
def on_send(node) add_offense(node) if t_bind?(node) end