Regarding access Native code using Ruby

Hi,

How can we access the native code (DLL functions) in Ruby (Like the JNI
in Java)?

Can I find some sample code anywhere?

Thanks and Regards,

Anjali