module Yup

Public Class Methods

new() click to toggle source
# File lib/rubysl/singleton/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