Skip to content

Instantly share code, notes, and snippets.

@jtimberman
Created January 20, 2011 03:12
Show Gist options
  • Save jtimberman/787330 to your computer and use it in GitHub Desktop.
Save jtimberman/787330 to your computer and use it in GitHub Desktop.
courtesy of coderanger via #chef, for setting a default action in LWRP
def initialize(*args)
super if defined?(super)
@action = "deploy"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment