Skip to content

Instantly share code, notes, and snippets.

@coderanger
Created April 24, 2012 20:09
Show Gist options
  • Save coderanger/2483303 to your computer and use it in GitHub Desktop.
Save coderanger/2483303 to your computer and use it in GitHub Desktop.
Chef resource alias
class Chef
class Recipe
def new_name(*args, &block)
method_missing(:old_name, *args, &block)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment