Skip to content

Instantly share code, notes, and snippets.

@jayniz
Created Feb 13, 2012
Embed
What would you like to do?
t = my_pacer_vertex.in(:friends)
t = t.filter(gender: 'female')
t = t.out(:likes)
t = t.filter(type: 'Movie')
t = t.sort_by{ |v, c| -c }
t = t.group_count{ |v| v }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment