Last active
August 29, 2015 14:17
-
-
Save mrkplt/7fb65807e60e9ce8aec2 to your computer and use it in GitHub Desktop.
Revisions
-
mrkplt revised this gist
Mar 29, 2015 . No changes.There are no files selected for viewing
-
mrkplt created this gist
Mar 29, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ class A attr_reader :b def initialize @b = B.new end end class B attr_reader :c def initialize @c = C.new end end class C def name 'Oh God what have I done.' end end a = A.new a.b.c.name