Created
November 13, 2012 05:54
-
-
Save richo/4064215 to your computer and use it in GitHub Desktop.
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 characters
| dep "thing" do | |
| met? { | |
| (@f ||= 0) == 1 | |
| } | |
| meet { | |
| @f = 1 | |
| } | |
| after { | |
| sudo "echo foo" | |
| } | |
| end |
Just reread that, obviously the thing dep should be 'dep "thing", :template=>"thingy" do'
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The one above works, this one has the issue: