Skip to content

Commit

Permalink
Align Module#const_defined? in the 1.8 mode to that in the 1.9 mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
BanzaiMan committed Apr 7, 2013
1 parent 2de8e3b commit 00868c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/jruby/RubyModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -2517,7 +2517,7 @@ private Collection<String> classVariablesCommon() {
@JRubyMethod(name = "const_defined?", required = 1, compat = RUBY1_8)
public RubyBoolean const_defined_p(ThreadContext context, IRubyObject symbol) {
// Note: includes part of fix for JRUBY-1339
return context.runtime.newBoolean(fastIsConstantDefined(validateConstant(symbol.asJavaString()).intern()));
return context.runtime.newBoolean(fastIsConstantDefined19(validateConstant(symbol.asJavaString()).intern()));
}

@JRubyMethod(name = "const_defined?", required = 1, optional = 1, compat = RUBY1_9)
Expand Down

0 comments on commit 00868c0

Please sign in to comment.