module Threadsafe

NOTE: <= 0.2.0 used Threadsafe::VERSION @private

Public Class Methods

const_missing(name) click to toggle source

@private

Calls superclass method
# File lib/thread_safe/version.rb, line 10
def self.const_missing(name)
  name = name.to_sym
  if ThreadSafe.const_defined?(name)
    warn "[DEPRECATION] `Threadsafe::#{name}' is deprecated, use `ThreadSafe::#{name}' instead."
    ThreadSafe.const_get(name)
  else
    warn "[DEPRECATION] the `Threadsafe' module is deprecated, please use `ThreadSafe` instead."
    super
  end
end