Skip to content

Instantly share code, notes, and snippets.

@dinge
Created January 13, 2010 14:13
Show Gist options
  • Select an option

  • Save dinge/276212 to your computer and use it in GitHub Desktop.

Select an option

Save dinge/276212 to your computer and use it in GitHub Desktop.

Revisions

  1. dinge created this gist Jan 13, 2010.
    6 changes: 6 additions & 0 deletions who is in love?
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #who is in love?
    architect.traverse.both(:friends, :has_coded, :loves).depth(:all).filter do
    outgoing(:loves).to_a.size > 0
    end.each do |n|
    puts n.name
    end