Method: Fox::FXIrb.init

Defined in:
lib/fox16/irb.rb

.init(p, tgt, sel, opts) ⇒ Object



92
93
94
95
96
97
98
99
100
101
102
# File 'lib/fox16/irb.rb', line 92

def FXIrb.init(p, tgt, sel, opts)
 unless @__instance__
  Thread.critical = true
  begin
	  @__instance__ ||= new(p, tgt, sel, opts)
  ensure
	  Thread.critical = false
  end
 end
 return @__instance__
end