Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Check from JobManager inside IRB namespace #226

Closed
wants to merge 1 commit into from

2 participants

@rafaelfranca

This avoid issues with application defined JobManager class

cc @keiju

@rafaelfranca rafaelfranca Check from JobManager inside IRB namespace
This avoid issues with application defined JobManager class
2d04948
@zzak
Collaborator

Thank you for your contribution!
Please refer to Bug #7628

@zzak zzak closed this
@rafaelfranca rafaelfranca deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 27, 2012
  1. @rafaelfranca

    Check from JobManager inside IRB namespace

    rafaelfranca authored
    This avoid issues with application defined JobManager class
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/irb/context.rb
View
2  lib/irb/context.rb
@@ -54,7 +54,7 @@ def initialize(irb, workspace = nil, input_method = nil, output_method = nil)
self.prompt_mode = IRB.conf[:PROMPT_MODE]
- if IRB.conf[:SINGLE_IRB] or !defined?(JobManager)
+ if IRB.conf[:SINGLE_IRB] or !defined?(IRB::JobManager)
@irb_name = IRB.conf[:IRB_NAME]
else
@irb_name = "irb#"+IRB.JobManager.n_jobs.to_s
Something went wrong with that request. Please try again.