Created
May 27, 2014 17:47
-
-
Save ka8725/5d8ebaa4070652d599fd 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
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