Skip to content

Instantly share code, notes, and snippets.

@lfborjas
Last active August 29, 2015 14:05
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 lfborjas/7bb2e94074319c8b1c7f to your computer and use it in GitHub Desktop.
Save lfborjas/7bb2e94074319c8b1c7f to your computer and use it in GitHub Desktop.
class Dog < Animal
def pet
dog_petter.pet
end
private
def dog_petter
DogPetter.new
end
end
Dog.new.pet
module FuckEverythingUp
def destroy
exit(1)
end
def bite_the_guy
"rawr"
end
end
class Dog < Animal
include FuckEverythingUp
include BeCute
include MunchOnStuff
end
Dog.new.destroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment