Sha256: 972aad43175dfe88c62e440950cfa4b05db275c55d72a65b765edc6afb3d4586
Contents?: true
Size: 383 Bytes
Versions: 8
Compression:
Stored size: 383 Bytes
Contents
module Kernel begin alias_method ":metaclass", :metaclass rescue alias_method :":metaclass", :singleton_class alias_method :metaclass, :singleton_class end def fancy_require(file, compile = false) if compile file = Fancy::CodeLoader.compile_file! file end find_file = !compile Fancy::CodeLoader.load_compiled_file file, find_file end end
Version data entries
8 entries across 8 versions & 1 rubygems