Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -38,12 +38,12 @@ public boolean xor(RubyNilClass other) {
return false;
}

@Specialization(guards = "isNotNull")
@Specialization(guards = "isNotNil")
public boolean xor(RubyObject other) {
return true;
}

static boolean isNotNull(RubyObject o) {
static boolean isNotNil(RubyObject o) {
return ! (o instanceof RubyNilClass);
}

0 comments on commit a7d0d34

Please sign in to comment.