Sha256: e145110e542c9e39ec523878795cec5b3da3a63a47616fbce755d338c60fd5e1
Contents?: true
Size: 1.77 KB
Versions: 5
Compression:
Stored size: 1.77 KB
Contents
###################################################### # # **** DO NOT EDIT **** # # **** THIS IS A GENERATED FILE ***** # ###################################################### ###################################################### # # **** DO NOT EDIT **** # # **** THIS IS A GENERATED FILE ***** # ###################################################### require 'thread' module Rake::CompTree::Quix module Kernel def let yield self end def singleton_class class << self self end end module Gensym @mutex = Mutex.new @count = 0 def gensym(prefix = nil) count = Gensym.module_eval { @mutex.synchronize { @count += 1 } } "#{prefix || :G}_#{count}_#{rand}".to_sym end end include Gensym def call_private(method, *args, &block) instance_eval { send(method, *args, &block) } end def with_warnings(value = true) previous = $VERBOSE $VERBOSE = value begin yield ensure $VERBOSE = previous end end def no_warnings(&block) with_warnings(false, &block) end def abort_on_exception(value = true) previous = Thread.abort_on_exception Thread.abort_on_exception = value begin yield ensure Thread.abort_on_exception = previous end end extend self end end ###################################################### # # **** DO NOT EDIT **** # # **** THIS IS A GENERATED FILE ***** # ###################################################### ###################################################### # # **** DO NOT EDIT **** # # **** THIS IS A GENERATED FILE ***** # ######################################################
Version data entries
5 entries across 5 versions & 1 rubygems