Created
September 10, 2014 17:51
-
-
Save Phrogz/bd75639e4c8a59760edd to your computer and use it in GitHub Desktop.
Spiderweb of requires
This file contains hidden or 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
puts :bar1 | |
require_relative '../lib' | |
puts :bar2 |
This file contains hidden or 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
puts :foo1 | |
require_relative '../lib' | |
puts :foo2 |
This file contains hidden or 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
puts :lib1 | |
require_relative 'lib/foo' | |
puts :lib2 | |
require_relative 'lib/bar' | |
puts :lib3 |
This file contains hidden or 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
bar1 | |
lib1 | |
foo1 | |
foo2 | |
lib2 | |
bar1 # WHOA NELLY | |
bar2 # EXPAND_PATH, PLEASE | |
lib3 | |
bar2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment