Docs > Interfacing with Ruby

Interfacing with Ruby can be done through the `__rb_call` function. The first argument, a string, is the function to call, the second the arguments. For example: ``` __rb_call("puts", ["Hello, world!"]) ``` The argument list can be empty. **NOTE: `__rb_call` internally uses `eval` and as such is very unsafe. Never allow untrusted user input into it; overall use it as little as possible. Sardonyx does its best to escape arguments, but it should still be avoided.**