Created
December 15, 2015 21:37
-
-
Save mayra-cabrera/1cbd7fa3beb729ff3df2 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
class NumberStrategy | |
def run | |
make_a_numeric_operation | |
end | |
end | |
class StringStrategy | |
def run | |
check_grammar | |
end | |
end | |
class SomethingElseStrategy | |
def run | |
do_something_else | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment