/* * 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 frb_get_locale(VALUE self, VALUE locale) { return (frb_locale ? rb_str_new2(frb_locale) : Qnil); }