# File singleton.rb, line 238 def Yup.new begin __sleep raise "boom - thread ##{Thread.current[:i]} failed to create instance" ensure # simple flip-flop class << self remove_method :new end end end
This page was generated for Ruby 1.9.2
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with the Rubydoc Rdoc Generator 0.9.3.