module T::Private::Methods
def self.declare_sig(mod, &blk)
def self.declare_sig(mod, &blk) install_hooks(mod) if T::Private::DeclState.current.active_declaration T::Private::DeclState.current.active_declaration = nil raise "You called sig twice without declaring a method inbetween" end loc = caller_locations(2, 1).first T::Private::DeclState.current.active_declaration = DeclarationBlock.new(mod, loc, blk) nil end