Created
October 13, 2013 17:44
-
-
Save rosiehoyem/6965089 to your computer and use it in GitHub Desktop.
Secret Handshake TODO, Day 12
This file contains hidden or 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 SecretHandshake | |
attr_accessor :signal | |
def initialize(signal=str) | |
@@commands = [] | |
@@commands << "wink" if @signal.include?(/"1"/) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment