Sha256: 80e7e2c4d37197fd80af32438b8a2773b800e1f8cd0746c29fc9d162a36762a3
Contents?: true
Size: 700 Bytes
Versions: 1
Compression:
Stored size: 700 Bytes
Contents
module ChaWork SETTINGS = {} def self.use_weak_callbacks=(val) ChaWork::SETTINGS[:use_weak_callbacks] = val end def self.use_weak_callbacks? ChaWork::SETTINGS[:use_weak_callbacks] end end module ChaWork module_function def look_in(where, here, here__deprecated={}) return here[where] if here.has_key? where if here__deprecated[where] translated = here__deprecated[where] NSLog("The symbol #{where.inspect} has been deprecated in favor of #{translated.inspect}") return here[translated] end raise SugarCubeNotFoundException.new(where.inspect) end end class SugarCubeNotFoundException < Exception end CW = ChaWork unless defined?(CW)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cha_work-0.1 | lib/cha_work/chawork.rb |