Last active
August 29, 2016 10:40
-
-
Save davemackintosh/2aa49f7886132779764518e61f39b1f1 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 Lightbulb_Interface { | |
// switch_on should have an arity of 0 | |
// it should turn on the thing. | |
switch_on() {} | |
// switch_off should have an arity of 0. | |
// it should turn off the thing. | |
switch_off() {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment