Skip to content

Commit

Permalink
Fixed casing to match MRI.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Dec 9, 2014
1 parent 4793478 commit fb50f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyKernel.java
Expand Up @@ -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)");
}
}
};
Expand Down

0 comments on commit fb50f34

Please sign in to comment.