/* * call-seq: * Ferret.locale -> locale_str * * Returns a string corresponding to the locale set. For example; * * puts Ferret.locale #=> "en_US.UTF-8" */ static VALUE frt_get_locale(VALUE self, VALUE locale) { return (frt_locale ? rb_str_new2(frt_locale) : Qnil); }