Created
February 11, 2009 10:28
-
-
Save kamal/61948 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
authorization Mash.new unless attribute?("authorization") | |
authorization[:sudo] = Mash.new unless authorization.has_key?("sudo") | |
authorization[:sudo][:users] = ["foo", "bar"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment