Skip to content
Permalink
Browse files
Fixed casing to match MRI.
  • Loading branch information
nirvdrum committed Dec 9, 2014
1 parent 4793478 commit fb50f34ade4943cd4840ead1d8ef905b088de7e4
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/org/jruby/RubyKernel.java
@@ -1036,7 +1036,7 @@ public Binding convertToBinding(IRubyObject scope) {
if (scope instanceof RubyBinding) {
return ((RubyBinding)scope).getBinding().cloneForEval();
} else {
throw scope.getRuntime().newTypeError("wrong argument type " + scope.getMetaClass() + " (expected Binding)");
throw scope.getRuntime().newTypeError("wrong argument type " + scope.getMetaClass() + " (expected binding)");
}
}
};

0 comments on commit fb50f34

Please sign in to comment.