Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -386,6 +386,8 @@ public RubyNilClass attrReader(RubyModule module, Object[] args) {

if (arg instanceof RubySymbol) {
accessorName = ((RubySymbol) arg).toString();
} else if (arg instanceof RubyString) {
accessorName = ((RubyString) arg).toString();
} else {
throw new UnsupportedOperationException();
}

0 comments on commit 678117d

Please sign in to comment.