Created
March 23, 2013 15:53
-
-
Save sideshowcoder/5228176 to your computer and use it in GitHub Desktop.
figure out what has been loaded already
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$LOADED_FEATURES.select { |f| f =~ /time/ } #=> [] | |
require 'time' #=> true | |
$LOADED_FEATURES.select { |f| f =~ /time/ } #=> ["/Users/phil/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/time.rb"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment