Last active
November 22, 2019 22:07
-
-
Save riccjohn/70d218ced74de5e87ec08538d7f5f9df 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 BarkingSkill { | |
public func bark() { | |
print("woof!") | |
} | |
} | |
class EatingSkill { | |
public func eat() { | |
print("nom nom nom") | |
} | |
} | |
class CleaningSkill { | |
public func clean() { | |
print("Cleaning! beep boop") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment