An example 1 VALUE foo(VALUE self, VALUE x) { 2 Foo f; 3 f.foo(NUM2INT(x)); 4 return Qnil; 5 }