Last active
January 2, 2016 16:09
-
-
Save charleseff/8327709 to your computer and use it in GitHub Desktop.
This file contains 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
class foo(before => Exec['blah']) { | |
.... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This can be expressed like so:
However this is relying on a very specific behavior. In general, resources should only depend on other resources inside of a class, and resources should only depend on other classes instead of resources contained in other classes. Helps maintain encapsulation and all that.
EG