Created
July 8, 2013 19:08
-
-
Save trlinkin/5951571 to your computer and use it in GitHub Desktop.
"late-esque" binding for PEBuild filename option default...
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
def filename | |
if @filename == UNSET_VALUE | |
return "puppet-enterprise-#{version}-#{suffix}.tar.gz" | |
end | |
@filename | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@adrienthebo
Would something like this work for accessing the variable default as opposed to what you had before?