/* * call-seq: * dir.touch(file_name) -> nil * * Create an empty file in the directory with the name +file_name+. */ static VALUE frt_dir_touch(VALUE self, VALUE rfname) { Store *store = DATA_PTR(self); StringValue(rfname); store->touch(store, RSTRING(rfname)->ptr); return Qnil; }