Skip to content

Instantly share code, notes, and snippets.

@havenwood
Created August 15, 2018 17:22
class Proc
def >> other
-> arg { other.to_proc.call call arg }
end
end
@foo.tap &:start.to_proc >> :thing >> :whatever
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment