Ruby Foreign Function Interface