Sha256: 08d350f9af9b375f132bc36dcb86046c1a0bee37f14bb52133a19b12c632cf6b
Contents?: true
Size: 517 Bytes
Versions: 18
Compression:
Stored size: 517 Bytes
Contents
#-- # Author:: Tyler Rick # Copyright:: Copyright (c) 2007 QualitySmith, Inc. # License:: Ruby License # Submit to Facets?:: No, not yet #++ require 'rubygems' module Kernel # Fixes bug in Ruby (1.8, at least -- not sure if 2.0 fixes it) where a file can be required twice if the path is spelled differently. def require_once(name) raise NotImplementedError # store expand_path(name) in an array ($required_files or something) # only do the require if it wasn't already in the array end end
Version data entries
18 entries across 18 versions & 2 rubygems