Skip to content

Instantly share code, notes, and snippets.

@Sihui
Last active April 23, 2017 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sihui/2969943b39c2bcfb803d24eb89bf0b63 to your computer and use it in GitHub Desktop.
Save Sihui/2969943b39c2bcfb803d24eb89bf0b63 to your computer and use it in GitHub Desktop.
class GrilledChicken
def cook
stuffing = []
stuffing << 'sliced tomato'
stuffing << 'lettuce'
stuffing << 'grilled chicken'
stuffing
end
end
class BeefPatty
def cook
stuffing = []
stuffing << 'cheese'
stuffing << 'grilled beef patty'
stuffing
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment