Skip to content

Instantly share code, notes, and snippets.

@ka8725
Created May 27, 2014 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ka8725/5d8ebaa4070652d599fd to your computer and use it in GitHub Desktop.
Save ka8725/5d8ebaa4070652d599fd to your computer and use it in GitHub Desktop.
STEP_DECORATORS_MAPPING = {
step1: Decorator1,
step2: Decorator2
}
step = :step1
STEP_DECORATORS_MAPPING[step].new(...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment