module T::Sig
Used as a mixin to any class so that you can call `sig`. Docs at sorbet.org/docs/sigs
Public Instance Methods
sig(arg0=nil, &blk)
click to toggle source
# File lib/types/sig.rb, line 27 def sig(arg0=nil, &blk) T::Private::Methods.declare_sig(self, Kernel.caller_locations(1, 1)&.first, arg0, &blk) end