Method: Code::Object#sig

Defined in:
lib/code/object.rb

#sig(args, &block) ⇒ Object



308
309
310
# File 'lib/code/object.rb', line 308

def sig(args, &block)
  Type::Sig.sig(args, object: self, &block)
end