Created
September 15, 2010 01:18
-
-
Save jackdempsey/580086 to your computer and use it in GitHub Desktop.
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
~/foo > pwd | |
/Users/jack/foo | |
~/foo > ls -l **/* | |
-rw-r--r-- 1 jack staff 66B Sep 14 21:15 lib/foo.rb | |
-rw-r--r-- 1 jack staff 21B Sep 14 21:14 lib/foo/a.rb | |
-rw-r--r-- 1 jack staff 21B Sep 14 21:14 lib/foo/b.rb | |
lib: | |
total 8 | |
drwxr-xr-x 4 jack staff 136B Sep 14 21:14 foo/ | |
-rw-r--r-- 1 jack staff 66B Sep 14 21:15 foo.rb | |
lib/foo: | |
total 16 | |
-rw-r--r-- 1 jack staff 21B Sep 14 21:14 a.rb | |
-rw-r--r-- 1 jack staff 21B Sep 14 21:14 b.rb | |
~/foo > ruby -Ilib lib/foo.rb | |
going to require some deps | |
required in a | |
required in b | |
~/foo > cat lib/foo.rb | |
puts "going to require some deps" | |
require 'foo/a' | |
require 'foo/b' | |
~/foo > cat lib/foo/a.rb | |
puts "required in a" | |
~/foo > cat lib/foo/b.rb | |
puts "required in b" | |
~/foo > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment