module Typecheck
Constants
- TypeError
- VERSION
Public Instance Methods
typecheck(signature, method)
click to toggle source
# File lib/typecheck.rb, line 4 def typecheck(signature, method) alias_method "#{method}_unchecked", method define_method method, &SignatureCompiler.new.call(signature, method) end