Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -48,9 +48,6 @@ public Encoding regexpToEncoding(DynamicObject value) {

@Specialization(guards = "isRubyEncoding(value)")
public Encoding rubyEncodingToEncoding(DynamicObject value) {
// While we have a Ruby encoding object, the jcodings encoding it represents might not have been loaded yet.
// So, we can't simply use one of the layout helpers. We need to potentially load the encoding from the
// jcodings database.
return EncodingOperations.getEncoding(value);
}

0 comments on commit 627cdf1

Please sign in to comment.