Created
February 12, 2011 22:27
-
-
Save ody/824195 to your computer and use it in GitHub Desktop.
Bad idea?
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 params { | |
$foo = 'bar' | |
} | |
define blort() { | |
include params | |
notify{ $name: message => $params::foo } | |
} | |
blort { 'works?': } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment