Skip to content

Instantly share code, notes, and snippets.

@benhamill
Created December 6, 2012 16:37
Show Gist options
  • Save benhamill/4225863 to your computer and use it in GitHub Desktop.
Save benhamill/4225863 to your computer and use it in GitHub Desktop.
require 'foo'
class Bar
attr_reader :foo
def make_foo
@foo = Foo.new(self)
end
end
require 'bar'
class Foo
attr_reader :bar
def make_bar
@bar = Bar.new(self)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment