Hi everyone,

I was wondering if there is an equivalent function/method to MRI's
`Check_Type()', which helps check if a given IRubyObject is of a given type
and if not raise a TypeError. This can probably be achieved by a simple if
block, but it feels like a common use case especially when writing
extensions. A related question is, how does the JRubyMethod annotation
`argTypes' work ? is it actually enforced by the runtime.

Cheers,

JS

Reply via email to