Sha256: b75807838d3617fcf4ad4063e9fe6c00194b3115419352df27022324dfa3139d
Contents?: true
Size: 415 Bytes
Versions: 24
Compression:
Stored size: 415 Bytes
Contents
def SugarCube.look_in(where, here, here__deprecated={}) return here[where] if here.has_key? where if here__deprecated[where] translated = here__deprecated[where] SugarCube.log("The symbol #{where.inspect} has been deprecated in favor of #{translated.inspect}") return here[translated] end raise SugarCubeNotFoundException.new(where.inspect) end class SugarCubeNotFoundException < Exception end
Version data entries
24 entries across 24 versions & 1 rubygems