diff options
Diffstat (limited to 'ext/psych/psych_to_ruby.c')
-rw-r--r-- | ext/psych/psych_to_ruby.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/psych/psych_to_ruby.c b/ext/psych/psych_to_ruby.c index 3cc87a965e..b388ff7754 100644 --- a/ext/psych/psych_to_ruby.c +++ b/ext/psych/psych_to_ruby.c @@ -21,11 +21,7 @@ static VALUE build_exception(VALUE self, VALUE klass, VALUE mesg) */ static VALUE path2class(VALUE self, VALUE path) { -#ifdef HAVE_RUBY_ENCODING_H return rb_path_to_class(path); -#else - return rb_path2class(StringValuePtr(path)); -#endif } void Init_psych_to_ruby(void) |